|
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 | xf_clipboard_free_server_formats (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 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, BYTE *data, int size) |
|
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 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) |
|
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) |
|
FreeRDP: A Remote Desktop Protocol Implementation X11 Clipboard Redirection
Copyright 2010-2011 Vic Lee Copyright 2015 Thincast Technologies GmbH Copyright 2015 DI (FH) Martin Haimberger marti.nosp@m.n.ha.nosp@m.imber.nosp@m.ger@.nosp@m.thinc.nosp@m.ast..nosp@m.com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
xfClipboard* xf_clipboard_new |
( |
xfContext * |
xfc, |
|
|
BOOL |
relieveFilenameRestriction |
|
) |
| |
FreeRDP: A Remote Desktop Protocol Implementation X11 Clipboard Redirection
Copyright 2010-2011 Vic Lee
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.