FreeRDP
server/encomsp_main.c File Reference
#include <freerdp/config.h>
#include <winpr/crt.h>
#include <winpr/print.h>
#include <winpr/stream.h>
#include <freerdp/freerdp.h>
#include <freerdp/channels/log.h>
#include "encomsp_main.h"

Macros

#define TAG   CHANNELS_TAG("encomsp.server")
 

Functions

static UINT encomsp_read_header (wStream *s, ENCOMSP_ORDER_HEADER *header)
 
static UINT encomsp_recv_change_participant_control_level_pdu (EncomspServerContext *context, wStream *s, ENCOMSP_ORDER_HEADER *header)
 
static UINT encomsp_server_receive_pdu (EncomspServerContext *context, wStream *s)
 
static DWORD WINAPI encomsp_server_thread (LPVOID arg)
 
static UINT encomsp_server_start (EncomspServerContext *context)
 
static UINT encomsp_server_stop (EncomspServerContext *context)
 
EncomspServerContext * encomsp_server_context_new (HANDLE vcm)
 
void encomsp_server_context_free (EncomspServerContext *context)
 

Macro Definition Documentation

◆ TAG

#define TAG   CHANNELS_TAG("encomsp.server")

FreeRDP: A Remote Desktop Protocol Implementation Multiparty Virtual Channel

Copyright 2014 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com 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.

Function Documentation

◆ encomsp_read_header()

static UINT encomsp_read_header ( wStream s,
ENCOMSP_ORDER_HEADER header 
)
static

Function description

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

◆ encomsp_recv_change_participant_control_level_pdu()

static UINT encomsp_recv_change_participant_control_level_pdu ( EncomspServerContext *  context,
wStream s,
ENCOMSP_ORDER_HEADER header 
)
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:

◆ encomsp_server_context_free()

void encomsp_server_context_free ( EncomspServerContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ encomsp_server_context_new()

EncomspServerContext* encomsp_server_context_new ( HANDLE  vcm)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ encomsp_server_receive_pdu()

static UINT encomsp_server_receive_pdu ( EncomspServerContext *  context,
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:

◆ encomsp_server_start()

static UINT encomsp_server_start ( EncomspServerContext *  context)
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:

◆ encomsp_server_stop()

static UINT encomsp_server_stop ( EncomspServerContext *  context)
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:

◆ encomsp_server_thread()

static DWORD WINAPI encomsp_server_thread ( LPVOID  arg)
static
Here is the call graph for this function:
Here is the caller graph for this function: