BOOL file_formats_registered;
};
-UINT xf_cliprdr_send_client_format_list(xfClipboard* clipboard);
+static UINT xf_cliprdr_send_client_format_list(xfClipboard* clipboard);
static void xf_cliprdr_check_owner(xfClipboard* clipboard)
{
*
* @return 0 on success, otherwise a Win32 error code
*/
-UINT xf_cliprdr_send_client_capabilities(xfClipboard* clipboard)
+static UINT xf_cliprdr_send_client_capabilities(xfClipboard* clipboard)
{
CLIPRDR_CAPABILITIES capabilities;
CLIPRDR_GENERAL_CAPABILITY_SET generalCapabilitySet;
*
* @return 0 on success, otherwise a Win32 error code
*/
-UINT xf_cliprdr_send_client_format_list(xfClipboard* clipboard)
+static UINT xf_cliprdr_send_client_format_list(xfClipboard* clipboard)
{
UINT32 i, numFormats;
CLIPRDR_FORMAT* formats = NULL;
*
* @return 0 on success, otherwise a Win32 error code
*/
-UINT xf_cliprdr_send_client_format_list_response(xfClipboard* clipboard,
+static UINT xf_cliprdr_send_client_format_list_response(xfClipboard* clipboard,
BOOL status)
{
CLIPRDR_FORMAT_LIST_RESPONSE formatListResponse;
return CHANNEL_RC_OK;
}
-UINT xf_cliprdr_server_file_size_request(xfClipboard* clipboard,
+static UINT xf_cliprdr_server_file_size_request(xfClipboard* clipboard,
const CLIPRDR_FILE_CONTENTS_REQUEST* fileContentsRequest)
{
wClipboardFileSizeRequest request;
return clipboard->delegate->ClientRequestFileSize(clipboard->delegate, &request);
}
-UINT xf_cliprdr_server_file_range_request(xfClipboard* clipboard,
+static UINT xf_cliprdr_server_file_range_request(xfClipboard* clipboard,
const CLIPRDR_FILE_CONTENTS_REQUEST* fileContentsRequest)
{
wClipboardFileRangeRequest request;
return clipboard->delegate->ClientRequestFileRange(clipboard->delegate, &request);
}
-UINT xf_cliprdr_send_file_contents_failure(CliprdrClientContext* context,
+static UINT xf_cliprdr_send_file_contents_failure(CliprdrClientContext* context,
const CLIPRDR_FILE_CONTENTS_REQUEST* fileContentsRequest)
{
CLIPRDR_FILE_CONTENTS_RESPONSE response;
return context->ClientFileContentsResponse(context, &response);
}
-UINT xf_cliprdr_server_file_contents_request(CliprdrClientContext* context,
+static UINT xf_cliprdr_server_file_contents_request(CliprdrClientContext* context,
CLIPRDR_FILE_CONTENTS_REQUEST* fileContentsRequest)
{
UINT error = NO_ERROR;
return CHANNEL_RC_OK;
}
-UINT xf_cliprdr_clipboard_file_size_success(wClipboardDelegate* delegate,
+static UINT xf_cliprdr_clipboard_file_size_success(wClipboardDelegate* delegate,
const wClipboardFileSizeRequest* request, UINT64 fileSize)
{
CLIPRDR_FILE_CONTENTS_RESPONSE response;
return clipboard->context->ClientFileContentsResponse(clipboard->context, &response);
}
-UINT xf_cliprdr_clipboard_file_size_failure(wClipboardDelegate* delegate,
+static UINT xf_cliprdr_clipboard_file_size_failure(wClipboardDelegate* delegate,
const wClipboardFileSizeRequest* request, UINT errorCode)
{
CLIPRDR_FILE_CONTENTS_RESPONSE response;
return clipboard->context->ClientFileContentsResponse(clipboard->context, &response);
}
-UINT xf_cliprdr_clipboard_file_range_success(wClipboardDelegate* delegate,
+static UINT xf_cliprdr_clipboard_file_range_success(wClipboardDelegate* delegate,
const wClipboardFileRangeRequest* request, const BYTE* data, UINT32 size)
{
CLIPRDR_FILE_CONTENTS_RESPONSE response;
return clipboard->context->ClientFileContentsResponse(clipboard->context, &response);
}
-UINT xf_cliprdr_clipboard_file_range_failure(wClipboardDelegate* delegate,
+static UINT xf_cliprdr_clipboard_file_range_failure(wClipboardDelegate* delegate,
const wClipboardFileRangeRequest* request, UINT errorCode)
{
CLIPRDR_FILE_CONTENTS_RESPONSE response;