libfreerdp-core: add capabilities debug output

This commit is contained in:
Marc-André Moreau 2013-02-12 16:25:16 -05:00
parent 47a7d54370
commit d09d368e3f
6 changed files with 1144 additions and 87 deletions

View File

@ -74,6 +74,7 @@ else()
endif() endif()
option(WITH_DEBUG_CERTIFICATE "Print certificate related debug messages." ${DEFAULT_DEBUG_OPTION}) option(WITH_DEBUG_CERTIFICATE "Print certificate related debug messages." ${DEFAULT_DEBUG_OPTION})
option(WITH_DEBUG_CAPABILITIES "Print capability negotiation debug messages." ${DEFAULT_DEBUG_OPTION})
option(WITH_DEBUG_CHANNELS "Print channel manager debug messages." ${DEFAULT_DEBUG_OPTION}) option(WITH_DEBUG_CHANNELS "Print channel manager debug messages." ${DEFAULT_DEBUG_OPTION})
option(WITH_DEBUG_CLIPRDR "Print clipboard redirection debug messages" ${DEFAULT_DEBUG_OPTION}) option(WITH_DEBUG_CLIPRDR "Print clipboard redirection debug messages" ${DEFAULT_DEBUG_OPTION})
option(WITH_DEBUG_DVC "Print dynamic virtual channel debug messages." ${DEFAULT_DEBUG_OPTION}) option(WITH_DEBUG_DVC "Print dynamic virtual channel debug messages." ${DEFAULT_DEBUG_OPTION})

View File

@ -48,6 +48,7 @@
/* Debug */ /* Debug */
#cmakedefine WITH_DEBUG_CERTIFICATE #cmakedefine WITH_DEBUG_CERTIFICATE
#cmakedefine WITH_DEBUG_CAPABILITIES
#cmakedefine WITH_DEBUG_CHANNELS #cmakedefine WITH_DEBUG_CHANNELS
#cmakedefine WITH_DEBUG_CLIPRDR #cmakedefine WITH_DEBUG_CLIPRDR
#cmakedefine WITH_DEBUG_DVC #cmakedefine WITH_DEBUG_DVC

View File

@ -176,6 +176,7 @@
#define NEG_POLYGON_SC_INDEX 0x14 #define NEG_POLYGON_SC_INDEX 0x14
#define NEG_POLYGON_CB_INDEX 0x15 #define NEG_POLYGON_CB_INDEX 0x15
#define NEG_POLYLINE_INDEX 0x16 #define NEG_POLYLINE_INDEX 0x16
#define NEG_UNUSED23_INDEX 0x17
#define NEG_FAST_GLYPH_INDEX 0x18 #define NEG_FAST_GLYPH_INDEX 0x18
#define NEG_ELLIPSE_SC_INDEX 0x19 #define NEG_ELLIPSE_SC_INDEX 0x19
#define NEG_ELLIPSE_CB_INDEX 0x1A #define NEG_ELLIPSE_CB_INDEX 0x1A
@ -183,6 +184,7 @@
#define NEG_GLYPH_WEXTTEXTOUT_INDEX 0x1C #define NEG_GLYPH_WEXTTEXTOUT_INDEX 0x1C
#define NEG_GLYPH_WLONGTEXTOUT_INDEX 0x1D #define NEG_GLYPH_WLONGTEXTOUT_INDEX 0x1D
#define NEG_GLYPH_WLONGEXTTEXTOUT_INDEX 0x1E #define NEG_GLYPH_WLONGEXTTEXTOUT_INDEX 0x1E
#define NEG_UNUSED31_INDEX 0x1F
/* Glyph Support Level */ /* Glyph Support Level */
#define GLYPH_SUPPORT_NONE 0x0000 #define GLYPH_SUPPORT_NONE 0x0000

File diff suppressed because it is too large Load Diff

View File

@ -59,6 +59,9 @@ int connectErrorCode;
#define ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER_STRING \ #define ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER_STRING \
"The disconnection was initiated by an administrative tool on the server running in the user's session." "The disconnection was initiated by an administrative tool on the server running in the user's session."
#define ERRINFO_LOGOFF_BY_USER_STRING \
"The disconnection was initiated by the user logging off his or her session on the server."
/* Protocol-independent licensing codes */ /* Protocol-independent licensing codes */
#define ERRINFO_LICENSE_INTERNAL_STRING \ #define ERRINFO_LICENSE_INTERNAL_STRING \
@ -351,6 +354,7 @@ static const ERRINFO ERRINFO_CODES[] =
ERRINFO_DEFINE(SERVER_INSUFFICIENT_PRIVILEGES), ERRINFO_DEFINE(SERVER_INSUFFICIENT_PRIVILEGES),
ERRINFO_DEFINE(SERVER_FRESH_CREDENTIALS_REQUIRED), ERRINFO_DEFINE(SERVER_FRESH_CREDENTIALS_REQUIRED),
ERRINFO_DEFINE(RPC_INITIATED_DISCONNECT_BY_USER), ERRINFO_DEFINE(RPC_INITIATED_DISCONNECT_BY_USER),
ERRINFO_DEFINE(LOGOFF_BY_USER),
/* Protocol-independent licensing codes */ /* Protocol-independent licensing codes */
ERRINFO_DEFINE(LICENSE_INTERNAL), ERRINFO_DEFINE(LICENSE_INTERNAL),

View File

@ -33,6 +33,7 @@
#define ERRINFO_SERVER_INSUFFICIENT_PRIVILEGES 0x00000009 #define ERRINFO_SERVER_INSUFFICIENT_PRIVILEGES 0x00000009
#define ERRINFO_SERVER_FRESH_CREDENTIALS_REQUIRED 0x0000000A #define ERRINFO_SERVER_FRESH_CREDENTIALS_REQUIRED 0x0000000A
#define ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER 0x0000000B #define ERRINFO_RPC_INITIATED_DISCONNECT_BY_USER 0x0000000B
#define ERRINFO_LOGOFF_BY_USER 0x0000000C
/* Protocol-independent licensing codes */ /* Protocol-independent licensing codes */
#define ERRINFO_LICENSE_INTERNAL 0x00000100 #define ERRINFO_LICENSE_INTERNAL 0x00000100