FreeRDP
client/rail_main.h
1 
24 #ifndef FREERDP_CHANNEL_RAIL_CLIENT_MAIN_H
25 #define FREERDP_CHANNEL_RAIL_CLIENT_MAIN_H
26 
27 #include <freerdp/rail.h>
28 #include <freerdp/svc.h>
29 #include <freerdp/addin.h>
30 #include <freerdp/settings.h>
31 #include <freerdp/client/rail.h>
32 
33 #include <winpr/crt.h>
34 #include <winpr/wlog.h>
35 #include <winpr/stream.h>
36 
37 #include "../rail_common.h"
38 
39 typedef struct
40 {
41  CHANNEL_DEF channelDef;
42  CHANNEL_ENTRY_POINTS_FREERDP_EX channelEntryPoints;
43 
44  RailClientContext* context;
45 
46  wLog* log;
47  void* InitHandle;
48  DWORD OpenHandle;
49  void* MsgsHandle;
50  rdpContext* rdpcontext;
51  DWORD channelBuildNumber;
52  DWORD channelFlags;
53  RAIL_CLIENT_STATUS_ORDER clientStatus;
54  BOOL sendHandshake;
55 } railPlugin;
56 
57 RailClientContext* rail_get_client_interface(railPlugin* rail);
58 UINT rail_send_channel_data(railPlugin* rail, wStream* s);
59 
60 #endif /* FREERDP_CHANNEL_RAIL_CLIENT_MAIN_H */
Definition: svc.h:61