rdpgfx: more minor changes
1. Fix style for channels/rdpgfx/server/rdpgfx_main.c according to scripts/format_code.sh 2. Refactor and introduce APIs to allow rdpgfx server channel running in existing thread (similar to rdpsnd)
This commit is contained in:
parent
2b6bd2626d
commit
992e0e9f35
File diff suppressed because it is too large
Load Diff
@ -26,11 +26,15 @@
|
||||
struct _rdpgfx_server_private
|
||||
{
|
||||
ZGFX_CONTEXT* zgfx;
|
||||
BOOL ownThread;
|
||||
HANDLE thread;
|
||||
HANDLE stopEvent;
|
||||
HANDLE channelEvent;
|
||||
void* rdpgfx_channel;
|
||||
DWORD SessionId;
|
||||
BOOL opened;
|
||||
wStream* input_stream;
|
||||
BOOL isOpened;
|
||||
BOOL isReady;
|
||||
};
|
||||
|
||||
#endif /* FREERDP_CHANNEL_RDPGFX_SERVER_MAIN_H */
|
||||
|
@ -90,6 +90,8 @@ extern "C" {
|
||||
|
||||
FREERDP_API RdpgfxServerContext* rdpgfx_server_context_new(HANDLE vcm);
|
||||
FREERDP_API void rdpgfx_server_context_free(RdpgfxServerContext* context);
|
||||
FREERDP_API HANDLE rdpgfx_server_get_event_handle(RdpgfxServerContext* context);
|
||||
FREERDP_API UINT rdpgfx_server_handle_messages(RdpgfxServerContext* context);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user