ReactOS  0.4.12-dev-36-g472787f
rdesktop.h File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <dirent.h>
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
#include "parse.h"
#include "constants.h"
#include "types.h"
#include "proto.h"
Include dependency graph for rdesktop.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VERSION   "1.8.3"
 
#define EX_OK   0
 
#define EX_USAGE   64
 
#define EX_DATAERR   65
 
#define EX_NOINPUT   66
 
#define EX_NOUSER   67
 
#define EX_NOHOST   68
 
#define EX_UNAVAILABLE   69
 
#define EX_SOFTWARE   70
 
#define EX_OSERR   71
 
#define EX_OSFILE   72
 
#define EX_CANTCREAT   73
 
#define EX_IOERR   74
 
#define EX_TEMPFAIL   75
 
#define EX_PROTOCOL   76
 
#define EX_NOPERM   77
 
#define EX_CONFIG   78
 
#define EXRD_API_DISCONNECT   1
 
#define EXRD_API_LOGOFF   2
 
#define EXRD_IDLE_TIMEOUT   3
 
#define EXRD_LOGON_TIMEOUT   4
 
#define EXRD_REPLACED   5
 
#define EXRD_OUT_OF_MEM   6
 
#define EXRD_DENIED   7
 
#define EXRD_DENIED_FIPS   8
 
#define EXRD_INSUFFICIENT_PRIVILEGES   9
 
#define EXRD_FRESH_CREDENTIALS_REQUIRED   10
 
#define EXRD_RPC_DISCONNECT_BY_USER   11
 
#define EXRD_DISCONNECT_BY_USER   12
 
#define EXRD_LIC_INTERNAL   16
 
#define EXRD_LIC_NOSERVER   17
 
#define EXRD_LIC_NOLICENSE   18
 
#define EXRD_LIC_MSG   19
 
#define EXRD_LIC_HWID   20
 
#define EXRD_LIC_CLIENT   21
 
#define EXRD_LIC_NET   22
 
#define EXRD_LIC_PROTO   23
 
#define EXRD_LIC_ENC   24
 
#define EXRD_LIC_UPGRADE   25
 
#define EXRD_LIC_NOREMOTE   26
 
#define EXRD_WINDOW_CLOSED   62
 
#define EXRD_UNKNOWN   63
 
#define DEBUG(args)
 
#define DEBUG_KBD(args)
 
#define DEBUG_RDP5(args)
 
#define DEBUG_CLIPBOARD(args)
 
#define DEBUG_SOUND(args)
 
#define DEBUG_CHANNEL(args)
 
#define DEBUG_SCARD(args)
 
#define STRNCPY(dst, src, n)   { strncpy(dst,src,n-1); dst[n-1] = 0; }
 
#define MIN(x, y)   (((x) < (y)) ? (x) : (y))
 
#define MAX(x, y)   (((x) > (y)) ? (x) : (y))
 
#define timerisset(tvp)   ((tvp)->tv_sec || (tvp)->tv_usec)
 
#define timercmp(tvp, uvp, cmp)
 
#define timerclear(tvp)   ((tvp)->tv_sec = (tvp)->tv_usec = 0)
 
#define L_ENDIAN
 
#define NEED_ALIGN
 

Macro Definition Documentation

◆ DEBUG

#define DEBUG (   args)

Definition at line 129 of file rdesktop.h.

Referenced by __brelse(), _rdpdr_check_fds(), add_dirent_to_buf(), DriverEntry(), Ext2AcquireFileForCcFlush(), Ext2AcquireFileForModWrite(), Ext2AcquireForCreateSection(), Ext2AcquireForLazyWrite(), Ext2AcquireForReadAhead(), Ext2AddMcbExtent(), Ext2AddMcbMetaExts(), Ext2AddVcbExtent(), Ext2AllocateCcb(), Ext2AllocateFcb(), Ext2AllocateInode(), Ext2AllocateMcb(), Ext2BuildEntry(), Ext2BuildName(), Ext2CheckDismount(), Ext2CheckExtent(), Ext2Cleanup(), Ext2ClearInode(), Ext2Close(), Ext2Create(), Ext2CreateFile(), Ext2CreateInode(), Ext2DeleteFile(), Ext2DestroyInode(), Ext2DestroyVcb(), Ext2DeviceControlNormal(), Ext2DiskIoControl(), Ext2DismountVolume(), Ext2DispatchRequest(), Ext2DoExtentExpand(), Ext2ExceptionFilter(), Ext2ExpandBlock(), Ext2ExpandLast(), Ext2FastIoCheckIfPossible(), Ext2FastIoLock(), Ext2FastIoQueryBasicInfo(), Ext2FastIoQueryNetworkOpenInfo(), Ext2FastIoQueryStandardInfo(), Ext2FastIoRead(), Ext2FastIoUnlockAll(), Ext2FastIoUnlockAllByKey(), Ext2FastIoUnlockSingle(), Ext2FastIoWrite(), Ext2FileSystemControl(), Ext2FillEntry(), Ext2FloppyFlush(), Ext2FloppyFlushDpc(), Ext2Flush(), Ext2FlushFile(), Ext2FlushFiles(), Ext2FlushVolume(), Ext2FreeBlock(), Ext2FreeCcb(), Ext2FreeInode(), Ext2FreeMcb(), Ext2GetBlock(), Ext2GetInodeLba(), Ext2GetRetrievalPointerBase(), Ext2GetRetrievalPointers(), Ext2InitializeVcb(), Ext2InitializeZone(), Ext2InsertMcb(), Ext2InvalidateVolumes(), Ext2IsHandleCountZero(), Ext2LinkHeadMcb(), Ext2LinkTailMcb(), Ext2ListExtents(), Ext2LoadBlock(), Ext2LoadBuffer(), Ext2LoadGroup(), Ext2LoadGroupBH(), Ext2LoadInode(), Ext2LoadInodeXattr(), Ext2LockControl(), Ext2LockVcb(), Ext2LookupFile(), Ext2MapExtent(), Ext2McbReaperThread(), Ext2MountVolume(), Ext2NewBlock(), Ext2ProcessEntry(), Ext2PurgeFile(), Ext2PurgeVolume(), Ext2QueryDirectory(), Ext2QueryFileInformation(), Ext2QueryRegistrySettings(), Ext2Read(), Ext2ReadDisk(), Ext2ReadFile(), Ext2ReadSync(), Ext2ReadWriteBlocks(), Ext2ReleaseFileForCcFlush(), Ext2ReleaseFileForModWrite(), Ext2ReleaseForCreateSection(), Ext2ReleaseFromLazyWrite(), Ext2ReleaseFromReadAhead(), Ext2RemoveMcb(), Ext2RemoveMcbExtent(), Ext2RemoveMcbMetaExts(), Ext2RemoveVcbExtent(), Ext2SaveBlock(), Ext2SaveBuffer(), Ext2SaveInode(), Ext2SaveInodeXattr(), Ext2ScanDir(), Ext2SearchMcbWithoutLock(), Ext2SetDispositionInfo(), Ext2SetFileInformation(), Ext2SetLinkInfo(), Ext2SetParentEntry(), Ext2SetRenameInfo(), Ext2StartFloppyFlushDpc(), Ext2SupersedeOrOverWriteFile(), Ext2TruncateBlock(), Ext2UnlinkFcb(), Ext2UnlinkMcb(), Ext2UnlockVcb(), Ext2UserFsRequest(), Ext2VerifyVolume(), Ext2WriteFile(), Ext2WriteInode(), Ext2WriteVolume(), Ext2ZeroBuffer(), ext3_check_dir_entry(), ext4_check_descriptors(), free_buffer_head(), get_block_bh_mdl(), get_block_bh_pin(), licence_process(), licence_process_request(), main(), mark_bitmap_end(), new_buffer_head(), process_bitmap_updates(), process_bmpcache(), process_bmpcache2(), process_brushcache(), process_colcache(), process_data_pdu(), process_demand_active(), process_desksave(), process_destblt(), process_disconnect_pdu(), process_ellipse(), process_ellipse2(), process_fontcache(), process_line(), process_memblt(), process_palette(), process_patblt(), process_pdu_logon(), process_polygon(), process_polygon2(), process_polyline(), process_raw_bmpcache(), process_rect(), process_screenblt(), process_text2(), process_triblt(), pstcache_init(), pstcache_load_bitmap(), rdp_loop(), rdp_process_bitmap_caps(), rdp_recv(), rdpdr_process(), rdpdr_process_irp(), sec_generate_keys(), sec_process_crypt_info(), sec_send_to_channel(), ui_init(), and wave_out_play().

◆ DEBUG_CHANNEL

#define DEBUG_CHANNEL (   args)

Definition at line 159 of file rdesktop.h.

Referenced by channel_send().

◆ DEBUG_CLIPBOARD

◆ DEBUG_KBD

◆ DEBUG_RDP5

◆ DEBUG_SCARD

#define DEBUG_SCARD (   args)

Definition at line 165 of file rdesktop.h.

◆ DEBUG_SOUND

#define DEBUG_SOUND (   args)

Definition at line 153 of file rdesktop.h.

◆ EX_CANTCREAT

#define EX_CANTCREAT   73

Definition at line 79 of file rdesktop.h.

◆ EX_CONFIG

#define EX_CONFIG   78

Definition at line 94 of file rdesktop.h.

◆ EX_DATAERR

#define EX_DATAERR   65

Definition at line 55 of file rdesktop.h.

◆ EX_IOERR

#define EX_IOERR   74

Definition at line 82 of file rdesktop.h.

◆ EX_NOHOST

#define EX_NOHOST   68

Definition at line 64 of file rdesktop.h.

◆ EX_NOINPUT

#define EX_NOINPUT   66

Definition at line 58 of file rdesktop.h.

◆ EX_NOPERM

#define EX_NOPERM   77

Definition at line 91 of file rdesktop.h.

◆ EX_NOUSER

#define EX_NOUSER   67

Definition at line 61 of file rdesktop.h.

◆ EX_OK

#define EX_OK   0

Definition at line 49 of file rdesktop.h.

◆ EX_OSERR

#define EX_OSERR   71

Definition at line 73 of file rdesktop.h.

◆ EX_OSFILE

#define EX_OSFILE   72

Definition at line 76 of file rdesktop.h.

◆ EX_PROTOCOL

#define EX_PROTOCOL   76

Definition at line 88 of file rdesktop.h.

◆ EX_SOFTWARE

#define EX_SOFTWARE   70

Definition at line 70 of file rdesktop.h.

Referenced by cache_rebuild_bmpcache_linked_list().

◆ EX_TEMPFAIL

#define EX_TEMPFAIL   75

Definition at line 85 of file rdesktop.h.

◆ EX_UNAVAILABLE

#define EX_UNAVAILABLE   69

Definition at line 67 of file rdesktop.h.

◆ EX_USAGE

#define EX_USAGE   64

Definition at line 52 of file rdesktop.h.

◆ EXRD_API_DISCONNECT

#define EXRD_API_DISCONNECT   1

Definition at line 98 of file rdesktop.h.

◆ EXRD_API_LOGOFF

#define EXRD_API_LOGOFF   2

Definition at line 99 of file rdesktop.h.

◆ EXRD_DENIED

#define EXRD_DENIED   7

Definition at line 104 of file rdesktop.h.

◆ EXRD_DENIED_FIPS

#define EXRD_DENIED_FIPS   8

Definition at line 105 of file rdesktop.h.

◆ EXRD_DISCONNECT_BY_USER

#define EXRD_DISCONNECT_BY_USER   12

Definition at line 109 of file rdesktop.h.

◆ EXRD_FRESH_CREDENTIALS_REQUIRED

#define EXRD_FRESH_CREDENTIALS_REQUIRED   10

Definition at line 107 of file rdesktop.h.

◆ EXRD_IDLE_TIMEOUT

#define EXRD_IDLE_TIMEOUT   3

Definition at line 100 of file rdesktop.h.

◆ EXRD_INSUFFICIENT_PRIVILEGES

#define EXRD_INSUFFICIENT_PRIVILEGES   9

Definition at line 106 of file rdesktop.h.

◆ EXRD_LIC_CLIENT

#define EXRD_LIC_CLIENT   21

Definition at line 115 of file rdesktop.h.

◆ EXRD_LIC_ENC

#define EXRD_LIC_ENC   24

Definition at line 118 of file rdesktop.h.

◆ EXRD_LIC_HWID

#define EXRD_LIC_HWID   20

Definition at line 114 of file rdesktop.h.

◆ EXRD_LIC_INTERNAL

#define EXRD_LIC_INTERNAL   16

Definition at line 110 of file rdesktop.h.

◆ EXRD_LIC_MSG

#define EXRD_LIC_MSG   19

Definition at line 113 of file rdesktop.h.

◆ EXRD_LIC_NET

#define EXRD_LIC_NET   22

Definition at line 116 of file rdesktop.h.

◆ EXRD_LIC_NOLICENSE

#define EXRD_LIC_NOLICENSE   18

Definition at line 112 of file rdesktop.h.

◆ EXRD_LIC_NOREMOTE

#define EXRD_LIC_NOREMOTE   26

Definition at line 120 of file rdesktop.h.

◆ EXRD_LIC_NOSERVER

#define EXRD_LIC_NOSERVER   17

Definition at line 111 of file rdesktop.h.

◆ EXRD_LIC_PROTO

#define EXRD_LIC_PROTO   23

Definition at line 117 of file rdesktop.h.

◆ EXRD_LIC_UPGRADE

#define EXRD_LIC_UPGRADE   25

Definition at line 119 of file rdesktop.h.

◆ EXRD_LOGON_TIMEOUT

#define EXRD_LOGON_TIMEOUT   4

Definition at line 101 of file rdesktop.h.

◆ EXRD_OUT_OF_MEM

#define EXRD_OUT_OF_MEM   6

Definition at line 103 of file rdesktop.h.

◆ EXRD_REPLACED

#define EXRD_REPLACED   5

Definition at line 102 of file rdesktop.h.

◆ EXRD_RPC_DISCONNECT_BY_USER

#define EXRD_RPC_DISCONNECT_BY_USER   11

Definition at line 108 of file rdesktop.h.

◆ EXRD_UNKNOWN

#define EXRD_UNKNOWN   63

Definition at line 124 of file rdesktop.h.

◆ EXRD_WINDOW_CLOSED

#define EXRD_WINDOW_CLOSED   62

Definition at line 123 of file rdesktop.h.

◆ L_ENDIAN

#define L_ENDIAN

Definition at line 198 of file rdesktop.h.

◆ MAX

#define MAX (   x,
  y 
)    (((x) > (y)) ? (x) : (y))

Definition at line 175 of file rdesktop.h.

◆ MIN

#define MIN (   x,
  y 
)    (((x) < (y)) ? (x) : (y))

Definition at line 171 of file rdesktop.h.

◆ NEED_ALIGN

#define NEED_ALIGN

Definition at line 211 of file rdesktop.h.

◆ STRNCPY

◆ timerclear

#define timerclear (   tvp)    ((tvp)->tv_sec = (tvp)->tv_usec = 0)

◆ timercmp

#define timercmp (   tvp,
  uvp,
  cmp 
)
Value:
((tvp)->tv_sec cmp (uvp)->tv_sec ||\
(tvp)->tv_sec == (uvp)->tv_sec &&\
(tvp)->tv_usec cmp (uvp)->tv_usec)
#define cmp(status, error)
Definition: error.c:114

Definition at line 184 of file rdesktop.h.

Referenced by __svc_clean_idle(), inter_maxto(), main(), seamless_select_timeout(), sw_check_timers(), tcp_events(), and timeouts_queue().

◆ timerisset

#define timerisset (   tvp)    ((tvp)->tv_sec || (tvp)->tv_usec)

Definition at line 180 of file rdesktop.h.

Referenced by sw_check_timers().

◆ VERSION

#define VERSION   "1.8.3"