FreeRDP
android_cliprdr.c File Reference
#include <jni.h>
#include <winpr/crt.h>
#include <winpr/stream.h>
#include <freerdp/client/channels.h>
#include <freerdp/client/cliprdr.h>
#include "android_cliprdr.h"
#include "android_jni_utils.h"
#include "android_jni_callback.h"

Functions

UINT android_cliprdr_send_client_format_list (CliprdrClientContext *cliprdr)
 
static UINT android_cliprdr_send_client_format_data_request (CliprdrClientContext *cliprdr, UINT32 formatId)
 
static UINT android_cliprdr_send_client_capabilities (CliprdrClientContext *cliprdr)
 
static UINT android_cliprdr_monitor_ready (CliprdrClientContext *cliprdr, CLIPRDR_MONITOR_READY *monitorReady)
 
static UINT android_cliprdr_server_capabilities (CliprdrClientContext *cliprdr, CLIPRDR_CAPABILITIES *capabilities)
 
static UINT android_cliprdr_server_format_list (CliprdrClientContext *cliprdr, CLIPRDR_FORMAT_LIST *formatList)
 
static UINT android_cliprdr_server_format_list_response (CliprdrClientContext *cliprdr, CLIPRDR_FORMAT_LIST_RESPONSE *formatListResponse)
 
static UINT android_cliprdr_server_lock_clipboard_data (CliprdrClientContext *cliprdr, CLIPRDR_LOCK_CLIPBOARD_DATA *lockClipboardData)
 
static UINT android_cliprdr_server_unlock_clipboard_data (CliprdrClientContext *cliprdr, CLIPRDR_UNLOCK_CLIPBOARD_DATA *unlockClipboardData)
 
static UINT android_cliprdr_server_format_data_request (CliprdrClientContext *cliprdr, CLIPRDR_FORMAT_DATA_REQUEST *formatDataRequest)
 
static UINT android_cliprdr_server_format_data_response (CliprdrClientContext *cliprdr, CLIPRDR_FORMAT_DATA_RESPONSE *formatDataResponse)
 
static UINT android_cliprdr_server_file_contents_request (CliprdrClientContext *cliprdr, CLIPRDR_FILE_CONTENTS_REQUEST *fileContentsRequest)
 
static UINT android_cliprdr_server_file_contents_response (CliprdrClientContext *cliprdr, CLIPRDR_FILE_CONTENTS_RESPONSE *fileContentsResponse)
 
BOOL android_cliprdr_init (androidContext *afc, CliprdrClientContext *cliprdr)
 
BOOL android_cliprdr_uninit (androidContext *afc, CliprdrClientContext *cliprdr)
 

Function Documentation

BOOL android_cliprdr_init ( androidContext *  afc,
CliprdrClientContext *  cliprdr 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT android_cliprdr_monitor_ready ( CliprdrClientContext *  cliprdr,
CLIPRDR_MONITOR_READY *  monitorReady 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT android_cliprdr_send_client_capabilities ( CliprdrClientContext *  cliprdr)
static

Here is the caller graph for this function:

static UINT android_cliprdr_send_client_format_data_request ( CliprdrClientContext *  cliprdr,
UINT32  formatId 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

UINT android_cliprdr_send_client_format_list ( CliprdrClientContext *  cliprdr)

FreeRDP: A Remote Desktop Protocol Implementation Android Clipboard Redirection

Copyright 2013 Felix Long 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.

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT android_cliprdr_server_capabilities ( CliprdrClientContext *  cliprdr,
CLIPRDR_CAPABILITIES *  capabilities 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT android_cliprdr_server_file_contents_request ( CliprdrClientContext *  cliprdr,
CLIPRDR_FILE_CONTENTS_REQUEST *  fileContentsRequest 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the caller graph for this function:

static UINT android_cliprdr_server_file_contents_response ( CliprdrClientContext *  cliprdr,
CLIPRDR_FILE_CONTENTS_RESPONSE *  fileContentsResponse 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the caller graph for this function:

static UINT android_cliprdr_server_format_data_request ( CliprdrClientContext *  cliprdr,
CLIPRDR_FORMAT_DATA_REQUEST *  formatDataRequest 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT android_cliprdr_server_format_data_response ( CliprdrClientContext *  cliprdr,
CLIPRDR_FORMAT_DATA_RESPONSE *  formatDataResponse 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT android_cliprdr_server_format_list ( CliprdrClientContext *  cliprdr,
CLIPRDR_FORMAT_LIST *  formatList 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

Here is the caller graph for this function:

static UINT android_cliprdr_server_format_list_response ( CliprdrClientContext *  cliprdr,
CLIPRDR_FORMAT_LIST_RESPONSE *  formatListResponse 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the caller graph for this function:

static UINT android_cliprdr_server_lock_clipboard_data ( CliprdrClientContext *  cliprdr,
CLIPRDR_LOCK_CLIPBOARD_DATA *  lockClipboardData 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the caller graph for this function:

static UINT android_cliprdr_server_unlock_clipboard_data ( CliprdrClientContext *  cliprdr,
CLIPRDR_UNLOCK_CLIPBOARD_DATA *  unlockClipboardData 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the caller graph for this function:

BOOL android_cliprdr_uninit ( androidContext *  afc,
CliprdrClientContext *  cliprdr 
)

Here is the call graph for this function:

Here is the caller graph for this function: