FreeRDP
geometry_main.c File Reference
#include <freerdp/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <winpr/synch.h>
#include <winpr/print.h>
#include <winpr/stream.h>
#include <winpr/cmdline.h>
#include <winpr/collections.h>
#include <freerdp/addin.h>
#include <freerdp/client/channels.h>
#include <freerdp/client/geometry.h>
#include <freerdp/channels/log.h>
#include "geometry_main.h"

Macros

#define TAG   CHANNELS_TAG("geometry.client")
 

Functions

static UINT32 mappedGeometryHash (const void *v)
 
static BOOL mappedGeometryKeyCompare (const void *v1, const void *v2)
 
static void freerdp_rgndata_reset (FREERDP_RGNDATA *data)
 
static UINT32 geometry_read_RGNDATA (wLog *logger, wStream *s, UINT32 len, FREERDP_RGNDATA *rgndata)
 
static UINT geometry_recv_pdu (GENERIC_CHANNEL_CALLBACK *callback, wStream *s)
 
static UINT geometry_on_data_received (IWTSVirtualChannelCallback *pChannelCallback, wStream *data)
 
static UINT geometry_on_close (IWTSVirtualChannelCallback *pChannelCallback)
 
static void mappedGeometryUnref_void (void *arg)
 
static UINT init_plugin_cb (GENERIC_DYNVC_PLUGIN *base, rdpContext *rcontext, rdpSettings *settings)
 
static void terminate_plugin_cb (GENERIC_DYNVC_PLUGIN *base)
 
UINT geometry_DVCPluginEntry (IDRDYNVC_ENTRY_POINTS *pEntryPoints)
 

Variables

static const IWTSVirtualChannelCallback geometry_callbacks
 

Macro Definition Documentation

◆ TAG

#define TAG   CHANNELS_TAG("geometry.client")

FreeRDP: A Remote Desktop Protocol Implementation Geometry tracking Virtual Channel Extension

Copyright 2017 David Fort conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.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

◆ freerdp_rgndata_reset()

static void freerdp_rgndata_reset ( FREERDP_RGNDATA data)
static
Here is the caller graph for this function:

◆ geometry_DVCPluginEntry()

UINT geometry_DVCPluginEntry ( IDRDYNVC_ENTRY_POINTS *  pEntryPoints)

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:

◆ geometry_on_close()

static UINT geometry_on_close ( IWTSVirtualChannelCallback *  pChannelCallback)
static

Function description

Returns
0 on success, otherwise a Win32 error code

◆ geometry_on_data_received()

static UINT geometry_on_data_received ( IWTSVirtualChannelCallback *  pChannelCallback,
wStream data 
)
static

Function description

Returns
0 on success, otherwise a Win32 error code
Here is the call graph for this function:

◆ geometry_read_RGNDATA()

static UINT32 geometry_read_RGNDATA ( wLog *  logger,
wStream s,
UINT32  len,
FREERDP_RGNDATA rgndata 
)
static
Here is the caller graph for this function:

◆ geometry_recv_pdu()

static UINT geometry_recv_pdu ( GENERIC_CHANNEL_CALLBACK callback,
wStream s 
)
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:

◆ init_plugin_cb()

static UINT init_plugin_cb ( GENERIC_DYNVC_PLUGIN base,
rdpContext *  rcontext,
rdpSettings *  settings 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ mappedGeometryHash()

static UINT32 mappedGeometryHash ( const void *  v)
static
Here is the caller graph for this function:

◆ mappedGeometryKeyCompare()

static BOOL mappedGeometryKeyCompare ( const void *  v1,
const void *  v2 
)
static
Here is the caller graph for this function:

◆ mappedGeometryUnref_void()

static void mappedGeometryUnref_void ( void *  arg)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ terminate_plugin_cb()

static void terminate_plugin_cb ( GENERIC_DYNVC_PLUGIN base)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ geometry_callbacks

const IWTSVirtualChannelCallback geometry_callbacks
static
Initial value:
NULL,
if availableBytes return NULL
Definition: TPCircularBuffer.h:109
static UINT geometry_on_close(IWTSVirtualChannelCallback *pChannelCallback)
Definition: geometry_main.c:313
static UINT geometry_on_data_received(IWTSVirtualChannelCallback *pChannelCallback, wStream *data)
Definition: geometry_main.c:302

Channel Client Interface