FreeRDP
pf_cliprdr.c File Reference
#include "pf_cliprdr.h"
#include "pf_log.h"

Macros

#define TAG   PROXY_TAG("cliprdr")
 
#define TEXT_FORMATS_COUNT   2
 

Functions

BOOL pf_server_cliprdr_init (pServerContext *ps)
 
static INLINE BOOL pf_cliprdr_is_text_format (UINT32 format)
 
static INLINE void pf_cliprdr_create_text_only_format_list (CLIPRDR_FORMAT_LIST *list)
 
static BOOL pf_cliprdr_is_copy_paste_valid (proxyConfig *config, const CLIPRDR_FORMAT_DATA_RESPONSE *pdu, UINT32 format)
 
static INLINE void pf_cliprdr_create_failed_format_data_response (CLIPRDR_FORMAT_DATA_RESPONSE *dst)
 
static UINT pf_cliprdr_ClientCapabilities (CliprdrServerContext *context, const CLIPRDR_CAPABILITIES *capabilities)
 
static UINT pf_cliprdr_TempDirectory (CliprdrServerContext *context, const CLIPRDR_TEMP_DIRECTORY *tempDirectory)
 
static UINT pf_cliprdr_ClientFormatList (CliprdrServerContext *context, const CLIPRDR_FORMAT_LIST *formatList)
 
static UINT pf_cliprdr_ClientFormatListResponse (CliprdrServerContext *context, const CLIPRDR_FORMAT_LIST_RESPONSE *formatListResponse)
 
static UINT pf_cliprdr_ClientLockClipboardData (CliprdrServerContext *context, const CLIPRDR_LOCK_CLIPBOARD_DATA *lockClipboardData)
 
static UINT pf_cliprdr_ClientUnlockClipboardData (CliprdrServerContext *context, const CLIPRDR_UNLOCK_CLIPBOARD_DATA *unlockClipboardData)
 
static UINT pf_cliprdr_ClientFormatDataRequest (CliprdrServerContext *context, const CLIPRDR_FORMAT_DATA_REQUEST *formatDataRequest)
 
static UINT pf_cliprdr_ClientFormatDataResponse (CliprdrServerContext *context, const CLIPRDR_FORMAT_DATA_RESPONSE *formatDataResponse)
 
static UINT pf_cliprdr_ClientFileContentsRequest (CliprdrServerContext *context, const CLIPRDR_FILE_CONTENTS_REQUEST *fileContentsRequest)
 
static UINT pf_cliprdr_ClientFileContentsResponse (CliprdrServerContext *context, const CLIPRDR_FILE_CONTENTS_RESPONSE *fileContentsResponse)
 
static UINT pf_cliprdr_ServerCapabilities (CliprdrClientContext *context, const CLIPRDR_CAPABILITIES *capabilities)
 
static UINT pf_cliprdr_MonitorReady (CliprdrClientContext *context, const CLIPRDR_MONITOR_READY *monitorReady)
 
static UINT pf_cliprdr_ServerFormatList (CliprdrClientContext *context, const CLIPRDR_FORMAT_LIST *formatList)
 
static UINT pf_cliprdr_ServerFormatListResponse (CliprdrClientContext *context, const CLIPRDR_FORMAT_LIST_RESPONSE *formatListResponse)
 
static UINT pf_cliprdr_ServerLockClipboardData (CliprdrClientContext *context, const CLIPRDR_LOCK_CLIPBOARD_DATA *lockClipboardData)
 
static UINT pf_cliprdr_ServerUnlockClipboardData (CliprdrClientContext *context, const CLIPRDR_UNLOCK_CLIPBOARD_DATA *unlockClipboardData)
 
static UINT pf_cliprdr_ServerFormatDataRequest (CliprdrClientContext *context, const CLIPRDR_FORMAT_DATA_REQUEST *formatDataRequest)
 
static UINT pf_cliprdr_ServerFormatDataResponse (CliprdrClientContext *context, const CLIPRDR_FORMAT_DATA_RESPONSE *formatDataResponse)
 
static UINT pf_cliprdr_ServerFileContentsRequest (CliprdrClientContext *context, const CLIPRDR_FILE_CONTENTS_REQUEST *fileContentsRequest)
 
static UINT pf_cliprdr_ServerFileContentsResponse (CliprdrClientContext *context, const CLIPRDR_FILE_CONTENTS_RESPONSE *fileContentsResponse)
 
void pf_cliprdr_register_callbacks (CliprdrClientContext *cliprdr_client, CliprdrServerContext *cliprdr_server, proxyData *pdata)
 

Variables

static CLIPRDR_FORMAT g_text_formats [] = { { CF_TEXT, '\0' }, { CF_UNICODETEXT, '\0' } }
 

Macro Definition Documentation

#define TAG   PROXY_TAG("cliprdr")

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Proxy Server

Copyright 2019 Kobi Mizrachi kmizr.nosp@m.achi.nosp@m.18@gm.nosp@m.ail..nosp@m.com Copyright 2019 Idan Freiberg speid.nosp@m.y@gm.nosp@m.ail.c.nosp@m.om

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.

#define TEXT_FORMATS_COUNT   2

Function Documentation

static UINT pf_cliprdr_ClientCapabilities ( CliprdrServerContext *  context,
const CLIPRDR_CAPABILITIES *  capabilities 
)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_ClientFileContentsRequest ( CliprdrServerContext *  context,
const CLIPRDR_FILE_CONTENTS_REQUEST *  fileContentsRequest 
)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_ClientFileContentsResponse ( CliprdrServerContext *  context,
const CLIPRDR_FILE_CONTENTS_RESPONSE *  fileContentsResponse 
)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_ClientFormatDataRequest ( CliprdrServerContext *  context,
const CLIPRDR_FORMAT_DATA_REQUEST *  formatDataRequest 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT pf_cliprdr_ClientFormatDataResponse ( CliprdrServerContext *  context,
const CLIPRDR_FORMAT_DATA_RESPONSE *  formatDataResponse 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT pf_cliprdr_ClientFormatList ( CliprdrServerContext *  context,
const CLIPRDR_FORMAT_LIST *  formatList 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT pf_cliprdr_ClientFormatListResponse ( CliprdrServerContext *  context,
const CLIPRDR_FORMAT_LIST_RESPONSE *  formatListResponse 
)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_ClientLockClipboardData ( CliprdrServerContext *  context,
const CLIPRDR_LOCK_CLIPBOARD_DATA *  lockClipboardData 
)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_ClientUnlockClipboardData ( CliprdrServerContext *  context,
const CLIPRDR_UNLOCK_CLIPBOARD_DATA *  unlockClipboardData 
)
static

Here is the caller graph for this function:

static INLINE void pf_cliprdr_create_failed_format_data_response ( CLIPRDR_FORMAT_DATA_RESPONSE *  dst)
static

Here is the caller graph for this function:

static INLINE void pf_cliprdr_create_text_only_format_list ( CLIPRDR_FORMAT_LIST *  list)
static

Here is the caller graph for this function:

static BOOL pf_cliprdr_is_copy_paste_valid ( proxyConfig *  config,
const CLIPRDR_FORMAT_DATA_RESPONSE *  pdu,
UINT32  format 
)
static

Here is the caller graph for this function:

static INLINE BOOL pf_cliprdr_is_text_format ( UINT32  format)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_MonitorReady ( CliprdrClientContext *  context,
const CLIPRDR_MONITOR_READY *  monitorReady 
)
static

Here is the caller graph for this function:

void pf_cliprdr_register_callbacks ( CliprdrClientContext *  cliprdr_client,
CliprdrServerContext *  cliprdr_server,
proxyData *  pdata 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT pf_cliprdr_ServerCapabilities ( CliprdrClientContext *  context,
const CLIPRDR_CAPABILITIES *  capabilities 
)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_ServerFileContentsRequest ( CliprdrClientContext *  context,
const CLIPRDR_FILE_CONTENTS_REQUEST *  fileContentsRequest 
)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_ServerFileContentsResponse ( CliprdrClientContext *  context,
const CLIPRDR_FILE_CONTENTS_RESPONSE *  fileContentsResponse 
)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_ServerFormatDataRequest ( CliprdrClientContext *  context,
const CLIPRDR_FORMAT_DATA_REQUEST *  formatDataRequest 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT pf_cliprdr_ServerFormatDataResponse ( CliprdrClientContext *  context,
const CLIPRDR_FORMAT_DATA_RESPONSE *  formatDataResponse 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT pf_cliprdr_ServerFormatList ( CliprdrClientContext *  context,
const CLIPRDR_FORMAT_LIST *  formatList 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT pf_cliprdr_ServerFormatListResponse ( CliprdrClientContext *  context,
const CLIPRDR_FORMAT_LIST_RESPONSE *  formatListResponse 
)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_ServerLockClipboardData ( CliprdrClientContext *  context,
const CLIPRDR_LOCK_CLIPBOARD_DATA *  lockClipboardData 
)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_ServerUnlockClipboardData ( CliprdrClientContext *  context,
const CLIPRDR_UNLOCK_CLIPBOARD_DATA *  unlockClipboardData 
)
static

Here is the caller graph for this function:

static UINT pf_cliprdr_TempDirectory ( CliprdrServerContext *  context,
const CLIPRDR_TEMP_DIRECTORY *  tempDirectory 
)
static

Here is the caller graph for this function:

BOOL pf_server_cliprdr_init ( pServerContext *  ps)

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Proxy Server

Copyright 2019 Kobi Mizrachi kmizr.nosp@m.achi.nosp@m.18@gm.nosp@m.ail..nosp@m.com Copyright 2019 Idan Freiberg speid.nosp@m.y@gm.nosp@m.ail.c.nosp@m.om

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:

Variable Documentation

CLIPRDR_FORMAT g_text_formats[] = { { CF_TEXT, '\0' }, { CF_UNICODETEXT, '\0' } }
static