FreeRDP
server/rdpei_main.c File Reference
#include <winpr/crt.h>
#include <winpr/print.h>
#include <winpr/stream.h>
#include "rdpei_main.h"
#include "../rdpei_common.h"
#include <freerdp/channels/rdpei.h>
#include <freerdp/server/rdpei.h>

Enumerations

enum  RdpEiState { STATE_INITIAL, STATE_WAITING_CLIENT_READY, STATE_WAITING_FRAME, STATE_SUSPENDED }
 

Functions

RdpeiServerContext * rdpei_server_context_new (HANDLE vcm)
 
UINT rdpei_server_init (RdpeiServerContext *context)
 
void rdpei_server_context_reset (RdpeiServerContext *context)
 
void rdpei_server_context_free (RdpeiServerContext *context)
 
HANDLE rdpei_server_get_event_handle (RdpeiServerContext *context)
 
static UINT read_cs_ready_message (RdpeiServerContext *context, wStream *s)
 
static UINT read_touch_contact_data (RdpeiServerContext *context, wStream *s, RDPINPUT_CONTACT_DATA *contactData)
 
static UINT read_touch_frame (RdpeiServerContext *context, wStream *s, RDPINPUT_TOUCH_FRAME *frame)
 
static UINT read_touch_event (RdpeiServerContext *context, wStream *s)
 
static UINT read_dismiss_hovering_contact (RdpeiServerContext *context, wStream *s)
 
UINT rdpei_server_handle_messages (RdpeiServerContext *context)
 
UINT rdpei_server_send_sc_ready (RdpeiServerContext *context, UINT32 version)
 
UINT rdpei_server_suspend (RdpeiServerContext *context)
 
UINT rdpei_server_resume (RdpeiServerContext *context)
 

Enumeration Type Documentation

enum RdpEiState

FreeRDP: A Remote Desktop Protocol Implementation Extended Input channel server-side implementation

Copyright 2014 Thincast Technologies Gmbh. Copyright 2014 David FORT conta.nosp@m.ct@h.nosp@m.arden.nosp@m.ing-.nosp@m.consu.nosp@m.ltin.nosp@m.g.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.

Enumerator
STATE_INITIAL 
STATE_WAITING_CLIENT_READY 
STATE_WAITING_FRAME 
STATE_SUSPENDED 

Function Documentation

void rdpei_server_context_free ( RdpeiServerContext *  context)

Here is the call graph for this function:

Here is the caller graph for this function:

RdpeiServerContext* rdpei_server_context_new ( HANDLE  vcm)

Here is the call graph for this function:

Here is the caller graph for this function:

void rdpei_server_context_reset ( RdpeiServerContext *  context)

Here is the call graph for this function:

Here is the caller graph for this function:

HANDLE rdpei_server_get_event_handle ( RdpeiServerContext *  context)
UINT rdpei_server_handle_messages ( RdpeiServerContext *  context)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

UINT rdpei_server_init ( RdpeiServerContext *  context)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

UINT rdpei_server_resume ( RdpeiServerContext *  context)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

UINT rdpei_server_send_sc_ready ( RdpeiServerContext *  context,
UINT32  version 
)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

UINT rdpei_server_suspend ( RdpeiServerContext *  context)

Function description

Returns
0 on success, otherwise a Win32 error code

Here is the call graph for this function:

static UINT read_cs_ready_message ( RdpeiServerContext *  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:

static UINT read_dismiss_hovering_contact ( RdpeiServerContext *  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:

static UINT read_touch_contact_data ( RdpeiServerContext *  context,
wStream *  s,
RDPINPUT_CONTACT_DATA *  contactData 
)
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:

static UINT read_touch_event ( RdpeiServerContext *  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:

static UINT read_touch_frame ( RdpeiServerContext *  context,
wStream *  s,
RDPINPUT_TOUCH_FRAME *  frame 
)
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: