FreeRDP
client/cliprdr_main.h
1 
22 #ifndef FREERDP_CHANNEL_CLIPRDR_CLIENT_MAIN_H
23 #define FREERDP_CHANNEL_CLIPRDR_CLIENT_MAIN_H
24 
25 #include <winpr/stream.h>
26 
27 #include <freerdp/svc.h>
28 #include <freerdp/addin.h>
29 #include <freerdp/channels/log.h>
30 #include <freerdp/client/cliprdr.h>
31 
32 #define TAG CHANNELS_TAG("cliprdr.client")
33 
34 typedef struct
35 {
36  CHANNEL_DEF channelDef;
37  CHANNEL_ENTRY_POINTS_FREERDP_EX channelEntryPoints;
38 
39  CliprdrClientContext* context;
40 
41  wLog* log;
42  void* InitHandle;
43  DWORD OpenHandle;
44  void* MsgsHandle;
45 
46  BOOL capabilitiesReceived;
47  BOOL useLongFormatNames;
48  BOOL streamFileClipEnabled;
49  BOOL fileClipNoFilePaths;
50  BOOL canLockClipData;
51  BOOL hasHugeFileSupport;
52  BOOL initialFormatListSent;
54 
55 CliprdrClientContext* cliprdr_get_client_interface(cliprdrPlugin* cliprdr);
56 UINT cliprdr_send_error_response(cliprdrPlugin* cliprdr, UINT16 type);
57 
58 extern const char type_FileGroupDescriptorW[];
59 extern const char type_FileContents[];
60 
61 #endif /* FREERDP_CHANNEL_CLIPRDR_CLIENT_MAIN_H */
Definition: svc.h:61