FreeRDP
transport_io.h File Reference
#include <winpr/stream.h>
#include <freerdp/api.h>
#include <freerdp/types.h>
#include <freerdp/settings.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  rdpTransportLayer
 
struct  rdpTransportIo
 

Typedefs

typedef int(* pTransportLayerRead) (void *userContext, void *data, int bytes)
 
typedef int(* pTransportLayerWrite) (void *userContext, const void *data, int bytes)
 
typedef BOOL(* pTransportLayerFkt) (void *userContext)
 
typedef BOOL(* pTransportLayerWait) (void *userContext, BOOL waitWrite, DWORD timeout)
 
typedef HANDLE(* pTransportLayerGetEvent) (void *userContext)
 
typedef int(* pTCPConnect) (rdpContext *context, rdpSettings *settings, const char *hostname, int port, DWORD timeout)
 
typedef BOOL(* pTransportFkt) (rdpTransport *transport)
 
typedef BOOL(* pTransportAttach) (rdpTransport *transport, int sockfd)
 
typedef int(* pTransportRWFkt) (rdpTransport *transport, wStream *s)
 
typedef SSIZE_T(* pTransportRead) (rdpTransport *transport, BYTE *data, size_t bytes)
 
typedef BOOL(* pTransportGetPublicKey) (rdpTransport *transport, const BYTE **data, DWORD *length)
 
typedef BOOL(* pTransportSetBlockingMode) (rdpTransport *transport, BOOL blocking)
 
typedef rdpTransportLayer *(* pTransportConnectLayer) (rdpTransport *transport, const char *hostname, int port, DWORD timeout)
 
typedef BOOL(* pTransportAttachLayer) (rdpTransport *transport, rdpTransportLayer *layer)
 

Functions

FREERDP_API BOOL freerdp_io_callback_set_event (rdpContext *context, BOOL set)
 
FREERDP_API const rdpTransportIo * freerdp_get_io_callbacks (rdpContext *context)
 
FREERDP_API BOOL freerdp_set_io_callbacks (rdpContext *context, const rdpTransportIo *io_callbacks)
 
FREERDP_API BOOL freerdp_set_io_callback_context (rdpContext *context, void *usercontext)
 
FREERDP_API void * freerdp_get_io_callback_context (rdpContext *context)
 
FREERDP_API SSIZE_T transport_parse_pdu (rdpTransport *transport, wStream *s, BOOL *incomplete)
 
FREERDP_API rdpContext * transport_get_context (rdpTransport *transport)
 
FREERDP_API rdpTransport * freerdp_get_transport (rdpContext *context)
 
FREERDP_API rdpTransportLayer * transport_layer_new (rdpTransport *transport, size_t contextSize)
 
FREERDP_API void transport_layer_free (rdpTransportLayer *layer)
 

Typedef Documentation

◆ pTCPConnect

typedef int(* pTCPConnect) (rdpContext *context, rdpSettings *settings, const char *hostname, int port, DWORD timeout)

◆ pTransportAttach

typedef BOOL(* pTransportAttach) (rdpTransport *transport, int sockfd)

◆ pTransportAttachLayer

typedef BOOL(* pTransportAttachLayer) (rdpTransport *transport, rdpTransportLayer *layer)

◆ pTransportConnectLayer

typedef rdpTransportLayer*(* pTransportConnectLayer) (rdpTransport *transport, const char *hostname, int port, DWORD timeout)

◆ pTransportFkt

typedef BOOL(* pTransportFkt) (rdpTransport *transport)

◆ pTransportGetPublicKey

typedef BOOL(* pTransportGetPublicKey) (rdpTransport *transport, const BYTE **data, DWORD *length)

◆ pTransportLayerFkt

typedef BOOL(* pTransportLayerFkt) (void *userContext)

◆ pTransportLayerGetEvent

typedef HANDLE(* pTransportLayerGetEvent) (void *userContext)

◆ pTransportLayerRead

typedef int(* pTransportLayerRead) (void *userContext, void *data, int bytes)

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Interface

Copyright 2009-2011 Jay Sorg 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.

◆ pTransportLayerWait

typedef BOOL(* pTransportLayerWait) (void *userContext, BOOL waitWrite, DWORD timeout)

◆ pTransportLayerWrite

typedef int(* pTransportLayerWrite) (void *userContext, const void *data, int bytes)

◆ pTransportRead

typedef SSIZE_T(* pTransportRead) (rdpTransport *transport, BYTE *data, size_t bytes)

◆ pTransportRWFkt

typedef int(* pTransportRWFkt) (rdpTransport *transport, wStream *s)

◆ pTransportSetBlockingMode

typedef BOOL(* pTransportSetBlockingMode) (rdpTransport *transport, BOOL blocking)

Function Documentation

◆ freerdp_get_io_callback_context()

FREERDP_API void* freerdp_get_io_callback_context ( rdpContext *  context)
Here is the call graph for this function:

◆ freerdp_get_io_callbacks()

FREERDP_API const rdpTransportIo* freerdp_get_io_callbacks ( rdpContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_get_transport()

FREERDP_API rdpTransport* freerdp_get_transport ( rdpContext *  context)
Here is the caller graph for this function:

◆ freerdp_io_callback_set_event()

FREERDP_API BOOL freerdp_io_callback_set_event ( rdpContext *  context,
BOOL  set 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ freerdp_set_io_callback_context()

FREERDP_API BOOL freerdp_set_io_callback_context ( rdpContext *  context,
void *  usercontext 
)
Here is the call graph for this function:

◆ freerdp_set_io_callbacks()

FREERDP_API BOOL freerdp_set_io_callbacks ( rdpContext *  context,
const rdpTransportIo *  io_callbacks 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ transport_get_context()

FREERDP_API rdpContext* transport_get_context ( rdpTransport *  transport)
Here is the caller graph for this function:

◆ transport_layer_free()

FREERDP_API void transport_layer_free ( rdpTransportLayer *  layer)
Here is the caller graph for this function:

◆ transport_layer_new()

FREERDP_API rdpTransportLayer* transport_layer_new ( rdpTransport *  transport,
size_t  contextSize 
)
Here is the caller graph for this function:

◆ transport_parse_pdu()

FREERDP_API SSIZE_T transport_parse_pdu ( rdpTransport *  transport,
wStream s,
BOOL *  incomplete 
)
Here is the call graph for this function:
Here is the caller graph for this function: