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

Macros

#define TAG   CLIENT_TAG(RDP2TCP_DVC_CHANNEL_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 channel_terminated (Plugin *plugin)
 
static void channel_initialized (Plugin *plugin)
 
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 const int debug = 0
 

Macro Definition Documentation

◆ TAG

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.

◆ VirtualChannelEntryEx

#define VirtualChannelEntryEx   rdp2tcp_VirtualChannelEntryEx

Function Documentation

◆ channel_initialized()

static void channel_initialized ( Plugin *  plugin)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ channel_terminated()

static void channel_terminated ( Plugin *  plugin)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ closeChannel()

static void closeChannel ( Plugin *  plugin)
static
Here is the caller graph for this function:

◆ copyThread()

static DWORD WINAPI copyThread ( void *  data)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dataReceived()

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:

◆ dumpData()

static void dumpData ( char *  data,
unsigned  length 
)
static
Here is the caller graph for this function:

◆ init_external_addin()

static int init_external_addin ( Plugin *  plugin)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ VirtualChannelEntryEx()

BOOL VCAPITYPE VirtualChannelEntryEx ( PCHANNEL_ENTRY_POINTS  pEntryPoints,
PVOID  pInitHandle 
)
Here is the call graph for this function:

◆ VirtualChannelInitEventEx()

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:

◆ VirtualChannelOpenEventEx()

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

◆ debug

const int debug = 0
static