From 5acd80dd5b12f7086220cc93893dcccb13ee3945 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Mon, 29 Feb 2016 15:18:19 +0100 Subject: [PATCH] Exporting channel entry points. --- channels/audin/client/audin_main.c | 2 ++ channels/disp/client/disp_main.c | 2 ++ channels/drive/client/drive_main.c | 2 ++ channels/echo/client/echo_main.c | 2 ++ channels/parallel/client/parallel_main.c | 2 ++ channels/printer/client/printer_main.c | 2 ++ channels/rdpei/client/rdpei_main.c | 2 ++ channels/rdpgfx/client/rdpgfx_main.c | 2 ++ channels/serial/client/serial_main.c | 2 ++ channels/tsmf/client/tsmf_main.c | 2 ++ channels/urbdrc/client/urbdrc_main.c | 2 ++ 11 files changed, 22 insertions(+) diff --git a/channels/audin/client/audin_main.c b/channels/audin/client/audin_main.c index 373ae86dc..b03643785 100644 --- a/channels/audin/client/audin_main.c +++ b/channels/audin/client/audin_main.c @@ -771,6 +771,8 @@ static BOOL audin_process_addin_args(IWTSPlugin* pPlugin, ADDIN_ARGV* args) #ifdef STATIC_CHANNELS #define DVCPluginEntry audin_DVCPluginEntry +#else +#define DVCPluginEntry FREERDP_API DVCPluginEntry #endif /** diff --git a/channels/disp/client/disp_main.c b/channels/disp/client/disp_main.c index d70f61964..fb23d8b5e 100644 --- a/channels/disp/client/disp_main.c +++ b/channels/disp/client/disp_main.c @@ -340,6 +340,8 @@ UINT disp_send_monitor_layout(DispClientContext* context, UINT32 NumMonitors, DI #ifdef STATIC_CHANNELS #define DVCPluginEntry disp_DVCPluginEntry +#else +#define DVCPluginEntry FREERDP_API DVCPluginEntry #endif /** diff --git a/channels/drive/client/drive_main.c b/channels/drive/client/drive_main.c index e2a5a39ab..39ed054b9 100644 --- a/channels/drive/client/drive_main.c +++ b/channels/drive/client/drive_main.c @@ -859,6 +859,8 @@ out_error: #ifdef STATIC_CHANNELS #define DeviceServiceEntry drive_DeviceServiceEntry +#else +#define DeviceServiceEntry FREERDP_API DeviceServiceEntry #endif UINT sys_code_page = 0; diff --git a/channels/echo/client/echo_main.c b/channels/echo/client/echo_main.c index fe2d3631c..ba50aaaad 100644 --- a/channels/echo/client/echo_main.c +++ b/channels/echo/client/echo_main.c @@ -162,6 +162,8 @@ static UINT echo_plugin_terminated(IWTSPlugin* pPlugin) #ifdef STATIC_CHANNELS #define DVCPluginEntry echo_DVCPluginEntry +#else +#define DVCPluginEntry FREERDP_API DVCPluginEntry #endif /** diff --git a/channels/parallel/client/parallel_main.c b/channels/parallel/client/parallel_main.c index 2bd90f242..58bc9c2b1 100644 --- a/channels/parallel/client/parallel_main.c +++ b/channels/parallel/client/parallel_main.c @@ -394,6 +394,8 @@ static UINT parallel_free(DEVICE* device) #ifdef STATIC_CHANNELS #define DeviceServiceEntry parallel_DeviceServiceEntry +#else +#define DeviceServiceEntry FREERDP_API DeviceServiceEntry #endif /** diff --git a/channels/printer/client/printer_main.c b/channels/printer/client/printer_main.c index fce501a18..02f72e190 100644 --- a/channels/printer/client/printer_main.c +++ b/channels/printer/client/printer_main.c @@ -451,6 +451,8 @@ error_out: #ifdef STATIC_CHANNELS #define DeviceServiceEntry printer_DeviceServiceEntry +#else +#define DeviceServiceEntry FREERDP_API DeviceServiceEntry #endif /** diff --git a/channels/rdpei/client/rdpei_main.c b/channels/rdpei/client/rdpei_main.c index d1cbb7c07..6acfcc739 100644 --- a/channels/rdpei/client/rdpei_main.c +++ b/channels/rdpei/client/rdpei_main.c @@ -957,6 +957,8 @@ UINT rdpei_touch_end(RdpeiClientContext* context, int externalId, int x, int y, #ifdef STATIC_CHANNELS #define DVCPluginEntry rdpei_DVCPluginEntry +#else +#define DVCPluginEntry FREERDP_API DVCPluginEntry #endif /** diff --git a/channels/rdpgfx/client/rdpgfx_main.c b/channels/rdpgfx/client/rdpgfx_main.c index 7da8c9fd2..07ec66cc5 100644 --- a/channels/rdpgfx/client/rdpgfx_main.c +++ b/channels/rdpgfx/client/rdpgfx_main.c @@ -1515,6 +1515,8 @@ void* rdpgfx_get_cache_slot_data(RdpgfxClientContext* context, UINT16 cacheSlot) #ifdef STATIC_CHANNELS #define DVCPluginEntry rdpgfx_DVCPluginEntry +#else +#define DVCPluginEntry FREERDP_API DVCPluginEntry #endif /** diff --git a/channels/serial/client/serial_main.c b/channels/serial/client/serial_main.c index 548fa5675..b9650a9e5 100644 --- a/channels/serial/client/serial_main.c +++ b/channels/serial/client/serial_main.c @@ -813,6 +813,8 @@ static UINT serial_free(DEVICE* device) #ifdef STATIC_CHANNELS #define DeviceServiceEntry serial_DeviceServiceEntry +#else +#define DeviceServiceEntry FREERDP_API DeviceServiceEntry #endif /** diff --git a/channels/tsmf/client/tsmf_main.c b/channels/tsmf/client/tsmf_main.c index 6e373ecb9..bc202ead9 100644 --- a/channels/tsmf/client/tsmf_main.c +++ b/channels/tsmf/client/tsmf_main.c @@ -527,6 +527,8 @@ static UINT tsmf_process_addin_args(IWTSPlugin *pPlugin, ADDIN_ARGV *args) #ifdef STATIC_CHANNELS #define DVCPluginEntry tsmf_DVCPluginEntry +#else +#define DVCPluginEntry FREERDP_API DVCPluginEntry #endif /** diff --git a/channels/urbdrc/client/urbdrc_main.c b/channels/urbdrc/client/urbdrc_main.c index 1e4c0a771..cbb937996 100644 --- a/channels/urbdrc/client/urbdrc_main.c +++ b/channels/urbdrc/client/urbdrc_main.c @@ -1541,6 +1541,8 @@ static UINT urbdrc_process_addin_args(URBDRC_PLUGIN* urbdrc, ADDIN_ARGV* args) #ifdef STATIC_CHANNELS #define DVCPluginEntry urbdrc_DVCPluginEntry +#else +#define DVCPluginEntry FREERDP_API DVCPluginEntry #endif /**