--- sourceforge.net/trunk/rdesktop/constants.h 2002/07/18 14:44:32 63 +++ sourceforge.net/trunk/rdesktop/constants.h 2002/07/27 22:35:38 69 @@ -24,11 +24,11 @@ /* ISO PDU codes */ enum ISO_PDU_CODE { - ISO_PDU_CR = 0xE0, /* Connection Request */ - ISO_PDU_CC = 0xD0, /* Connection Confirm */ - ISO_PDU_DR = 0x80, /* Disconnect Request */ - ISO_PDU_DT = 0xF0, /* Data */ - ISO_PDU_ER = 0x70 /* Error */ + ISO_PDU_CR = 0xE0, /* Connection Request */ + ISO_PDU_CC = 0xD0, /* Connection Confirm */ + ISO_PDU_DR = 0x80, /* Disconnect Request */ + ISO_PDU_DT = 0xF0, /* Data */ + ISO_PDU_ER = 0x70 /* Error */ }; /* MCS PDU codes */ @@ -76,7 +76,7 @@ #define SEC_TAG_PUBKEY 0x0006 #define SEC_TAG_KEYSIG 0x0008 -#define SEC_RSA_MAGIC 0x31415352 /* RSA1 */ +#define SEC_RSA_MAGIC 0x31415352 /* RSA1 */ /* RDP licensing constants */ #define LICENCE_TOKEN_SIZE 10 @@ -249,6 +249,8 @@ #define MapNumLockMask (1<<8) #define MapCapsLockMask (1<<9) +#define MapLocalStateMask (1<<10) + #define MASK_ADD_BITS(var, mask) (var |= mask) #define MASK_REMOVE_BITS(var, mask) (var &= ~mask) #define MASK_HAS_BITS(var, mask) ((var & mask)>0)