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