FreeRDP
rdp2tcp_main.c File Reference
#include <stdio.h>
#include <assert.h>
#include <winpr/file.h>
#include <winpr/pipe.h>
#include <winpr/thread.h>
#include <freerdp/svc.h>
#include <freerdp/log.h>

Macros

#define RDP2TCP_CHAN_NAME   "rdp2tcp"
 
#define TAG   CLIENT_TAG(RDP2TCP_CHAN_NAME)
 
#define VirtualChannelEntryEx   rdp2tcp_VirtualChannelEntryEx
 

Functions

static int init_external_addin (Plugin *plugin)
 
static void dumpData (char *data, unsigned length)
 
static DWORD WINAPI copyThread (void *data)
 
static void closeChannel (Plugin *plugin)
 
static void dataReceived (Plugin *plugin, void *pData, UINT32 dataLength, UINT32 totalLength, UINT32 dataFlags)
 
static void VCAPITYPE VirtualChannelOpenEventEx (LPVOID lpUserParam, DWORD openHandle, UINT event, LPVOID pData, UINT32 dataLength, UINT32 totalLength, UINT32 dataFlags)
 
static VOID VCAPITYPE VirtualChannelInitEventEx (LPVOID lpUserParam, LPVOID pInitHandle, UINT event, LPVOID pData, UINT dataLength)
 
BOOL VCAPITYPE VirtualChannelEntryEx (PCHANNEL_ENTRY_POINTS pEntryPoints, PVOID pInitHandle)
 

Variables

static int const debug = 0
 

Macro Definition Documentation

#define RDP2TCP_CHAN_NAME   "rdp2tcp"

FreeRDP: A Remote Desktop Protocol Implementation rdp2tcp Virtual Channel Extension

Copyright 2017 Artur Zaprzala

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 TAG   CLIENT_TAG(RDP2TCP_CHAN_NAME)
#define VirtualChannelEntryEx   rdp2tcp_VirtualChannelEntryEx

Function Documentation

static void closeChannel ( Plugin *  plugin)
static

Here is the caller graph for this function:

static DWORD WINAPI copyThread ( void data)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void dataReceived ( Plugin *  plugin,
void pData,
UINT32  dataLength,
UINT32  totalLength,
UINT32  dataFlags 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void dumpData ( char *  data,
unsigned  length 
)
static

Here is the caller graph for this function:

static int init_external_addin ( Plugin *  plugin)
static

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL VCAPITYPE VirtualChannelEntryEx ( PCHANNEL_ENTRY_POINTS  pEntryPoints,
PVOID  pInitHandle 
)

Here is the call graph for this function:

static VOID VCAPITYPE VirtualChannelInitEventEx ( LPVOID  lpUserParam,
LPVOID  pInitHandle,
UINT  event,
LPVOID  pData,
UINT  dataLength 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void VCAPITYPE VirtualChannelOpenEventEx ( LPVOID  lpUserParam,
DWORD  openHandle,
UINT  event,
LPVOID  pData,
UINT32  dataLength,
UINT32  totalLength,
UINT32  dataFlags 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

int const debug = 0
static