FreeRDP
server/location_main.c File Reference
#include <freerdp/config.h>
#include <freerdp/freerdp.h>
#include <freerdp/channels/log.h>
#include <freerdp/server/location.h>
#include <freerdp/utils/encoded_types.h>

Macros

#define TAG   CHANNELS_TAG("location.server")
 

Enumerations

enum  eLocationChannelState { LOCATION_INITIAL , LOCATION_OPENED }
 

Functions

static UINT location_server_initialize (LocationServerContext *context, BOOL externalThread)
 
static UINT location_server_open_channel (location_server *location)
 
static UINT location_server_recv_client_ready (LocationServerContext *context, wStream *s, const RDPLOCATION_HEADER *header)
 
static UINT location_server_recv_base_location3d (LocationServerContext *context, wStream *s, const RDPLOCATION_HEADER *header)
 
static UINT location_server_recv_location2d_delta (LocationServerContext *context, wStream *s, const RDPLOCATION_HEADER *header)
 
static UINT location_server_recv_location3d_delta (LocationServerContext *context, wStream *s, const RDPLOCATION_HEADER *header)
 
static UINT location_process_message (location_server *location)
 
static UINT location_server_context_poll_int (LocationServerContext *context)
 
static HANDLE location_server_get_channel_handle (location_server *location)
 
static DWORD WINAPI location_server_thread_func (LPVOID arg)
 
static UINT location_server_open (LocationServerContext *context)
 
static UINT location_server_close (LocationServerContext *context)
 
static UINT location_server_context_poll (LocationServerContext *context)
 
static BOOL location_server_context_handle (LocationServerContext *context, HANDLE *handle)
 
static UINT location_server_packet_send (LocationServerContext *context, wStream *s)
 
static UINT location_server_send_server_ready (LocationServerContext *context, const RDPLOCATION_SERVER_READY_PDU *serverReady)
 
LocationServerContext * location_server_context_new (HANDLE vcm)
 
void location_server_context_free (LocationServerContext *context)
 

Macro Definition Documentation

◆ TAG

#define TAG   CHANNELS_TAG("location.server")

FreeRDP: A Remote Desktop Protocol Implementation Location Virtual Channel Extension

Copyright 2023 Pascal Nowack Pasca.nosp@m.l.No.nosp@m.wack@.nosp@m.gmx..nosp@m.de

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.

Enumeration Type Documentation

◆ eLocationChannelState

Enumerator
LOCATION_INITIAL 
LOCATION_OPENED 

Function Documentation

◆ location_process_message()

static UINT location_process_message ( location_server *  location)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_close()

static UINT location_server_close ( LocationServerContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_context_free()

void location_server_context_free ( LocationServerContext *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_context_handle()

static BOOL location_server_context_handle ( LocationServerContext *  context,
HANDLE *  handle 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_context_new()

LocationServerContext* location_server_context_new ( HANDLE  vcm)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_context_poll()

static UINT location_server_context_poll ( LocationServerContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_context_poll_int()

static UINT location_server_context_poll_int ( LocationServerContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_get_channel_handle()

static HANDLE location_server_get_channel_handle ( location_server *  location)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_initialize()

static UINT location_server_initialize ( LocationServerContext *  context,
BOOL  externalThread 
)
static
Here is the caller graph for this function:

◆ location_server_open()

static UINT location_server_open ( LocationServerContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_open_channel()

static UINT location_server_open_channel ( location_server *  location)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_packet_send()

static UINT location_server_packet_send ( LocationServerContext *  context,
wStream s 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_recv_base_location3d()

static UINT location_server_recv_base_location3d ( LocationServerContext *  context,
wStream s,
const RDPLOCATION_HEADER header 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_recv_client_ready()

static UINT location_server_recv_client_ready ( LocationServerContext *  context,
wStream s,
const RDPLOCATION_HEADER header 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_recv_location2d_delta()

static UINT location_server_recv_location2d_delta ( LocationServerContext *  context,
wStream s,
const RDPLOCATION_HEADER header 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_recv_location3d_delta()

static UINT location_server_recv_location3d_delta ( LocationServerContext *  context,
wStream s,
const RDPLOCATION_HEADER header 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_send_server_ready()

static UINT location_server_send_server_ready ( LocationServerContext *  context,
const RDPLOCATION_SERVER_READY_PDU serverReady 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ location_server_thread_func()

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