23 #ifndef FREERDP_CHANNEL_RDPECLIP_COMMON_H
24 #define FREERDP_CHANNEL_RDPECLIP_COMMON_H
26 #include <winpr/crt.h>
27 #include <winpr/stream.h>
29 #include <freerdp/channels/cliprdr.h>
30 #include <freerdp/api.h>
32 FREERDP_LOCAL
const char* CB_MSG_TYPE_STRING(UINT16 type,
char* buffer,
size_t size);
33 FREERDP_LOCAL
const char* CB_MSG_FLAGS_STRING(UINT16 msgFlags,
char* buffer,
size_t size);
35 FREERDP_LOCAL
wStream* cliprdr_packet_new(UINT16 msgType, UINT16 msgFlags, UINT32 dataLen);
45 BOOL useLongFormatNames, BOOL useAsciiNames);
47 FREERDP_LOCAL UINT cliprdr_read_lock_clipdata(
wStream* s,
49 FREERDP_LOCAL UINT cliprdr_read_unlock_clipdata(
wStream* s,
51 FREERDP_LOCAL UINT cliprdr_read_format_data_request(
wStream* s,
53 FREERDP_LOCAL UINT cliprdr_read_format_data_response(
wStream* s,
57 FREERDP_LOCAL UINT cliprdr_read_file_contents_response(
wStream* s,
60 BOOL useLongFormatNames);