|
static void | xf_cliprdr_clear_cached_data (xfClipboard *clipboard) |
|
static UINT | xf_cliprdr_send_client_format_list (xfClipboard *clipboard, BOOL force) |
|
static void | xf_cliprdr_set_selection_owner (xfContext *xfc, xfClipboard *clipboard, Time timestamp) |
|
static void | requested_format_free (RequestedFormat **ppRequestedFormat) |
|
static BOOL | requested_format_replace (RequestedFormat **ppRequestedFormat, UINT32 formatId, const char *formatName) |
|
static BOOL | requested_format_matches (const RequestedFormat *pRequestedFormat, UINT32 formatId, const char *formatName) |
|
static void | xf_cached_data_free (void *ptr) |
|
static xfCachedData * | xf_cached_data_new (BYTE *data, UINT32 data_length) |
|
static xfCachedData * | xf_cached_data_new_copy (const BYTE *data, size_t data_length) |
|
static void | xf_clipboard_free_server_formats (xfClipboard *clipboard) |
|
static BOOL | xf_cliprdr_update_owner (xfClipboard *clipboard) |
|
static void | xf_cliprdr_check_owner (xfClipboard *clipboard) |
|
static BOOL | xf_cliprdr_is_self_owned (xfClipboard *clipboard) |
|
static void | xf_cliprdr_set_raw_transfer_enabled (xfClipboard *clipboard, BOOL enabled) |
|
static BOOL | xf_cliprdr_is_raw_transfer_available (xfClipboard *clipboard) |
|
static BOOL | xf_cliprdr_formats_equal (const CLIPRDR_FORMAT *server, const xfCliprdrFormat *client) |
|
static const xfCliprdrFormat * | xf_cliprdr_get_client_format_by_id (xfClipboard *clipboard, UINT32 formatId) |
|
static const xfCliprdrFormat * | xf_cliprdr_get_client_format_by_atom (xfClipboard *clipboard, Atom atom) |
|
static const CLIPRDR_FORMAT * | xf_cliprdr_get_server_format_by_atom (xfClipboard *clipboard, Atom atom) |
|
static UINT | xf_cliprdr_send_data_request (xfClipboard *clipboard, UINT32 formatId, const xfCliprdrFormat *cformat) |
|
static UINT | xf_cliprdr_send_data_response (xfClipboard *clipboard, const xfCliprdrFormat *format, const BYTE *data, size_t size) |
|
static wStream * | xf_cliprdr_serialize_server_format_list (xfClipboard *clipboard) |
|
static CLIPRDR_FORMAT * | xf_cliprdr_parse_server_format_list (BYTE *data, size_t length, UINT32 *numFormats) |
|
static void | xf_cliprdr_free_formats (CLIPRDR_FORMAT *formats, UINT32 numFormats) |
|
static CLIPRDR_FORMAT * | xf_cliprdr_get_raw_server_formats (xfClipboard *clipboard, UINT32 *numFormats) |
|
static BOOL | xf_cliprdr_should_add_format (const CLIPRDR_FORMAT *formats, size_t count, const xfCliprdrFormat *xformat) |
|
static CLIPRDR_FORMAT * | xf_cliprdr_get_formats_from_targets (xfClipboard *clipboard, UINT32 *numFormats) |
|
static CLIPRDR_FORMAT * | xf_cliprdr_get_client_formats (xfClipboard *clipboard, UINT32 *numFormats) |
|
static void | xf_cliprdr_provide_server_format_list (xfClipboard *clipboard) |
|
static BOOL | xf_clipboard_format_equal (const CLIPRDR_FORMAT *a, const CLIPRDR_FORMAT *b) |
|
static BOOL | xf_clipboard_changed (xfClipboard *clipboard, const CLIPRDR_FORMAT *formats, UINT32 numFormats) |
|
static void | xf_clipboard_formats_free (xfClipboard *clipboard) |
|
static BOOL | xf_clipboard_copy_formats (xfClipboard *clipboard, const CLIPRDR_FORMAT *formats, UINT32 numFormats) |
|
static UINT | xf_cliprdr_send_format_list (xfClipboard *clipboard, const CLIPRDR_FORMAT *formats, UINT32 numFormats, BOOL force) |
|
static void | xf_cliprdr_get_requested_targets (xfClipboard *clipboard) |
|
static void | xf_cliprdr_process_requested_data (xfClipboard *clipboard, BOOL hasData, const BYTE *data, size_t size) |
|
static BOOL | xf_add_input_flags (xfClipboard *clipboard, long mask) |
|
static BOOL | xf_restore_input_flags (xfClipboard *clipboard) |
|
static BOOL | xf_cliprdr_get_requested_data (xfClipboard *clipboard, Atom target) |
|
static void | xf_cliprdr_append_target (xfClipboard *clipboard, Atom target) |
|
static void | xf_cliprdr_provide_targets (xfClipboard *clipboard, const XSelectionEvent *respond) |
|
static void | xf_cliprdr_provide_timestamp (xfClipboard *clipboard, const XSelectionEvent *respond) |
|
static void | xf_cliprdr_provide_data (xfClipboard *clipboard, const XSelectionEvent *respond, const BYTE *data, UINT32 size) |
|
static void | log_selection_event (xfContext *xfc, const XEvent *event) |
|
static BOOL | xf_cliprdr_process_selection_notify (xfClipboard *clipboard, const XSelectionEvent *xevent) |
|
static void * | format_to_cache_slot (UINT32 format) |
|
static UINT32 | get_dst_format_id_for_local_request (xfClipboard *clipboard, const xfCliprdrFormat *format) |
|
static void | get_src_format_info_for_local_request (xfClipboard *clipboard, const xfCliprdrFormat *format, UINT32 *srcFormatId, BOOL *nullTerminated) |
|
static xfCachedData * | convert_data_from_existing_raw_data (xfClipboard *clipboard, xfCachedData *cached_raw_data, UINT32 srcFormatId, BOOL nullTerminated, UINT32 dstFormatId) |
|
static BOOL | xf_cliprdr_process_selection_request (xfClipboard *clipboard, const XSelectionRequestEvent *xevent) |
|
static BOOL | xf_cliprdr_process_selection_clear (xfClipboard *clipboard, const XSelectionClearEvent *xevent) |
|
static BOOL | xf_cliprdr_process_property_notify (xfClipboard *clipboard, const XPropertyEvent *xevent) |
|
void | xf_cliprdr_handle_xevent (xfContext *xfc, const XEvent *event) |
|
static UINT | xf_cliprdr_send_client_capabilities (xfClipboard *clipboard) |
|
static UINT | xf_cliprdr_send_client_format_list_response (xfClipboard *clipboard, BOOL status) |
|
static UINT | xf_cliprdr_monitor_ready (CliprdrClientContext *context, const CLIPRDR_MONITOR_READY *monitorReady) |
|
static UINT | xf_cliprdr_server_capabilities (CliprdrClientContext *context, const CLIPRDR_CAPABILITIES *capabilities) |
|
static void | xf_cliprdr_prepare_to_set_selection_owner (xfContext *xfc, xfClipboard *clipboard) |
|
static UINT | xf_cliprdr_server_format_list (CliprdrClientContext *context, const CLIPRDR_FORMAT_LIST *formatList) |
|
static UINT | xf_cliprdr_server_format_list_response (CliprdrClientContext *context, const CLIPRDR_FORMAT_LIST_RESPONSE *formatListResponse) |
|
static UINT | xf_cliprdr_server_format_data_request (CliprdrClientContext *context, const CLIPRDR_FORMAT_DATA_REQUEST *formatDataRequest) |
|
static UINT | xf_cliprdr_server_format_data_response (CliprdrClientContext *context, const CLIPRDR_FORMAT_DATA_RESPONSE *formatDataResponse) |
|
static BOOL | xf_cliprdr_is_valid_unix_filename (LPCWSTR filename) |
|
xfClipboard * | xf_clipboard_new (xfContext *xfc, BOOL relieveFilenameRestriction) |
|
void | xf_clipboard_free (xfClipboard *clipboard) |
|
void | xf_cliprdr_init (xfContext *xfc, CliprdrClientContext *cliprdr) |
|
void | xf_cliprdr_uninit (xfContext *xfc, CliprdrClientContext *cliprdr) |
|