FreeRDP
cliprdr_common.c File Reference
#include <winpr/crt.h>
#include <winpr/stream.h>
#include <freerdp/channels/log.h>
#include "cliprdr_common.h"

Macros

#define TAG   CHANNELS_TAG("cliprdr.common")
 

Functions

static BOOL cliprdr_validate_file_contents_request (const CLIPRDR_FILE_CONTENTS_REQUEST *request)
 
wStream * cliprdr_packet_new (UINT16 msgType, UINT16 msgFlags, UINT32 dataLen)
 
static void cliprdr_write_file_contents_request (wStream *s, const CLIPRDR_FILE_CONTENTS_REQUEST *request)
 
static INLINE void cliprdr_write_lock_unlock_clipdata (wStream *s, UINT32 clipDataId)
 
static void cliprdr_write_lock_clipdata (wStream *s, const CLIPRDR_LOCK_CLIPBOARD_DATA *lockClipboardData)
 
static void cliprdr_write_unlock_clipdata (wStream *s, const CLIPRDR_UNLOCK_CLIPBOARD_DATA *unlockClipboardData)
 
static void cliprdr_write_file_contents_response (wStream *s, const CLIPRDR_FILE_CONTENTS_RESPONSE *response)
 
wStream * cliprdr_packet_lock_clipdata_new (const CLIPRDR_LOCK_CLIPBOARD_DATA *lockClipboardData)
 
wStream * cliprdr_packet_unlock_clipdata_new (const CLIPRDR_UNLOCK_CLIPBOARD_DATA *unlockClipboardData)
 
wStream * cliprdr_packet_file_contents_request_new (const CLIPRDR_FILE_CONTENTS_REQUEST *request)
 
wStream * cliprdr_packet_file_contents_response_new (const CLIPRDR_FILE_CONTENTS_RESPONSE *response)
 
wStream * cliprdr_packet_format_list_new (const CLIPRDR_FORMAT_LIST *formatList, BOOL useLongFormatNames)
 
UINT cliprdr_read_unlock_clipdata (wStream *s, CLIPRDR_UNLOCK_CLIPBOARD_DATA *unlockClipboardData)
 
UINT cliprdr_read_format_data_request (wStream *s, CLIPRDR_FORMAT_DATA_REQUEST *request)
 
UINT cliprdr_read_format_data_response (wStream *s, CLIPRDR_FORMAT_DATA_RESPONSE *response)
 
UINT cliprdr_read_file_contents_request (wStream *s, CLIPRDR_FILE_CONTENTS_REQUEST *request)
 
UINT cliprdr_read_file_contents_response (wStream *s, CLIPRDR_FILE_CONTENTS_RESPONSE *response)
 
UINT cliprdr_read_format_list (wStream *s, CLIPRDR_FORMAT_LIST *formatList, BOOL useLongFormatNames)
 
void cliprdr_free_format_list (CLIPRDR_FORMAT_LIST *formatList)
 

Macro Definition Documentation

◆ TAG

#define TAG   CHANNELS_TAG("cliprdr.common")

FreeRDP: A Remote Desktop Protocol Implementation Cliprdr common

Copyright 2013 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com 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 Copyright 2019 Kobi Mizrachi kmizr.nosp@m.achi.nosp@m.18@gm.nosp@m.ail..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.

Function Documentation

◆ cliprdr_free_format_list()

void cliprdr_free_format_list ( CLIPRDR_FORMAT_LIST *  formatList)
Here is the caller graph for this function:

◆ cliprdr_packet_file_contents_request_new()

wStream* cliprdr_packet_file_contents_request_new ( const CLIPRDR_FILE_CONTENTS_REQUEST *  request)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_packet_file_contents_response_new()

wStream* cliprdr_packet_file_contents_response_new ( const CLIPRDR_FILE_CONTENTS_RESPONSE *  response)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_packet_format_list_new()

wStream* cliprdr_packet_format_list_new ( const CLIPRDR_FORMAT_LIST *  formatList,
BOOL  useLongFormatNames 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_packet_lock_clipdata_new()

wStream* cliprdr_packet_lock_clipdata_new ( const CLIPRDR_LOCK_CLIPBOARD_DATA *  lockClipboardData)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_packet_new()

wStream* cliprdr_packet_new ( UINT16  msgType,
UINT16  msgFlags,
UINT32  dataLen 
)

FreeRDP: A Remote Desktop Protocol Implementation Cliprdr common

Copyright 2013 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com 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 Copyright 2019 Kobi Mizrachi kmizr.nosp@m.achi.nosp@m.18@gm.nosp@m.ail..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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_packet_unlock_clipdata_new()

wStream* cliprdr_packet_unlock_clipdata_new ( const CLIPRDR_UNLOCK_CLIPBOARD_DATA *  unlockClipboardData)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_read_file_contents_request()

UINT cliprdr_read_file_contents_request ( wStream *  s,
CLIPRDR_FILE_CONTENTS_REQUEST *  request 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_read_file_contents_response()

UINT cliprdr_read_file_contents_response ( wStream *  s,
CLIPRDR_FILE_CONTENTS_RESPONSE *  response 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_read_format_data_request()

UINT cliprdr_read_format_data_request ( wStream *  s,
CLIPRDR_FORMAT_DATA_REQUEST *  request 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_read_format_data_response()

UINT cliprdr_read_format_data_response ( wStream *  s,
CLIPRDR_FORMAT_DATA_RESPONSE *  response 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_read_format_list()

UINT cliprdr_read_format_list ( wStream *  s,
CLIPRDR_FORMAT_LIST *  formatList,
BOOL  useLongFormatNames 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_read_unlock_clipdata()

UINT cliprdr_read_unlock_clipdata ( wStream *  s,
CLIPRDR_UNLOCK_CLIPBOARD_DATA *  unlockClipboardData 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_validate_file_contents_request()

static BOOL cliprdr_validate_file_contents_request ( const CLIPRDR_FILE_CONTENTS_REQUEST *  request)
static
Here is the caller graph for this function:

◆ cliprdr_write_file_contents_request()

static void cliprdr_write_file_contents_request ( wStream *  s,
const CLIPRDR_FILE_CONTENTS_REQUEST *  request 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_write_file_contents_response()

static void cliprdr_write_file_contents_response ( wStream *  s,
const CLIPRDR_FILE_CONTENTS_RESPONSE *  response 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_write_lock_clipdata()

static void cliprdr_write_lock_clipdata ( wStream *  s,
const CLIPRDR_LOCK_CLIPBOARD_DATA *  lockClipboardData 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_write_lock_unlock_clipdata()

static INLINE void cliprdr_write_lock_unlock_clipdata ( wStream *  s,
UINT32  clipDataId 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cliprdr_write_unlock_clipdata()

static void cliprdr_write_unlock_clipdata ( wStream *  s,
const CLIPRDR_UNLOCK_CLIPBOARD_DATA *  unlockClipboardData 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: