diff options
Diffstat (limited to 'include/freerdp/freerdp.h')
-rw-r--r-- | include/freerdp/freerdp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/freerdp/freerdp.h b/include/freerdp/freerdp.h index 3ac773c..b3074f1 100644 --- a/include/freerdp/freerdp.h +++ b/include/freerdp/freerdp.h @@ -55,6 +55,7 @@ typedef int (*pSendChannelData)(freerdp* instance, int channelId, uint8* data, i typedef int (*pSendFrameAck)(freerdp* instance, int frame); typedef int (*pSendInvalidate)(freerdp* instance, int code, int x, int y, int w, int h); typedef int (*pReceiveChannelData)(freerdp* instance, int channelId, uint8* data, int size, int flags, int total_size); +typedef int (*pSessionInfo)(freerdp* instance, uint8* data, int data_bytes); struct rdp_context { @@ -76,6 +77,8 @@ struct rdp_context uint8 temp[32 * 1024]; }; +/* SessionInfo added with version 1 */ +#define VERSION_STRUCT_RDP_FREERDP 1 struct rdp_freerdp { rdpContext* context; /* 0 */ @@ -102,7 +105,9 @@ struct rdp_freerdp pSendFrameAck SendFrameAck; /* 66 */ pSendInvalidate SendInvalidate; /* 67 */ - uint32 paddingE[80 - 68]; /* 68 */ + pSessionInfo SessionInfo; /* 68 */ + + uint32 paddingE[80 - 69]; /* 69 */ }; FREERDP_API void freerdp_context_new(freerdp* instance); |