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  rdpTransportIo
 

Typedefs

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)
 

Functions

FREERDP_API BOOL freerdp_io_callback_set_event (rdpContext *context, BOOL reset)
 
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)
 

Typedef Documentation

◆ pTCPConnect

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

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.

◆ pTransportAttach

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

◆ pTransportFkt

typedef BOOL(* pTransportFkt) (rdpTransport *transport)

◆ pTransportGetPublicKey

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

◆ 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  reset 
)
Here is the call 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_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: