Unify struct definitions (#7633)

* Unified enum/struct definitions, fixed include issues

* Fixed mac compilation issues

* Added missing include

* Fixed windows server build warnings

* Fixed VS2010 build issue

* Removed unnecessary library linking

* Fixed ThreadPool WinXP compatibility

* Fixed pr review remarks
This commit is contained in:
akallabeth
2022-02-14 13:59:22 +00:00
committed by GitHub
parent e27a7e834e
commit 8cc6582044
334 changed files with 1980 additions and 2635 deletions

View File

@@ -35,34 +35,31 @@
#define TAG CHANNELS_TAG("echo.client")
typedef struct _ECHO_LISTENER_CALLBACK ECHO_LISTENER_CALLBACK;
struct _ECHO_LISTENER_CALLBACK
typedef struct
{
IWTSListenerCallback iface;
IWTSPlugin* plugin;
IWTSVirtualChannelManager* channel_mgr;
};
} ECHO_LISTENER_CALLBACK;
typedef struct _ECHO_CHANNEL_CALLBACK ECHO_CHANNEL_CALLBACK;
struct _ECHO_CHANNEL_CALLBACK
typedef struct
{
IWTSVirtualChannelCallback iface;
IWTSPlugin* plugin;
IWTSVirtualChannelManager* channel_mgr;
IWTSVirtualChannel* channel;
};
} ECHO_CHANNEL_CALLBACK;
typedef struct _ECHO_PLUGIN ECHO_PLUGIN;
struct _ECHO_PLUGIN
typedef struct
{
IWTSPlugin iface;
ECHO_LISTENER_CALLBACK* listener_callback;
IWTSListener* listener;
BOOL initialized;
};
} ECHO_PLUGIN;
/**
* Function description

View File

@@ -39,7 +39,7 @@
#define TAG CHANNELS_TAG("echo.server")
typedef struct _echo_server
typedef struct
{
echo_server_context context;