FreeRDP
demo.cpp File Reference
#include <iostream>
#include <freerdp/api.h>
#include <freerdp/scancode.h>
#include <freerdp/server/proxy/proxy_modules_api.h>

Macros

#define TAG   MODULE_TAG("demo")
 

Functions

static BOOL demo_plugin_unload (proxyPlugin *plugin)
 
static BOOL demo_client_init_connect (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_client_uninit_connect (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_client_pre_connect (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_client_post_connect (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_client_post_disconnect (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_client_x509_certificate (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_client_login_failure (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_client_end_paint (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_client_redirect (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_server_post_connect (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_server_peer_activate (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_server_channels_init (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_server_channels_free (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_server_session_end (proxyPlugin *plugin, proxyData *pdata, void *custom)
 
static BOOL demo_filter_keyboard_event (proxyPlugin *plugin, proxyData *pdata, void *param)
 
static BOOL demo_filter_unicode_event (proxyPlugin *plugin, proxyData *pdata, void *param)
 
static BOOL demo_mouse_event (proxyPlugin *plugin, proxyData *pdata, void *param)
 
static BOOL demo_mouse_ex_event (proxyPlugin *plugin, proxyData *pdata, void *param)
 
static BOOL demo_client_channel_data (proxyPlugin *plugin, proxyData *pdata, void *param)
 
static BOOL demo_server_channel_data (proxyPlugin *plugin, proxyData *pdata, void *param)
 
static BOOL demo_dynamic_channel_create (proxyPlugin *plugin, proxyData *pdata, void *param)
 
static BOOL demo_server_fetch_target_addr (proxyPlugin *plugin, proxyData *pdata, void *param)
 
static BOOL demo_server_peer_logon (proxyPlugin *plugin, proxyData *pdata, void *param)
 
static BOOL demo_dyn_channel_intercept_list (proxyPlugin *plugin, proxyData *pdata, void *arg)
 
static BOOL demo_static_channel_intercept_list (proxyPlugin *plugin, proxyData *pdata, void *arg)
 
static BOOL demo_dyn_channel_intercept (proxyPlugin *plugin, proxyData *pdata, void *arg)
 
FREERDP_API BOOL proxy_module_entry_point (proxyPluginsManager *plugins_manager, void *userdata)
 

Variables

static constexpr char plugin_name [] = "demo"
 
static constexpr char plugin_desc [] = "this is a test plugin"
 

Macro Definition Documentation

◆ TAG

#define TAG   MODULE_TAG("demo")

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Proxy Server Demo C++ Module

Copyright 2019 Kobi Mizrachi kmizr.nosp@m.achi.nosp@m.18@gm.nosp@m.ail..nosp@m.com Copyright 2021 Armin Novak anova.nosp@m.k@th.nosp@m.incas.nosp@m.t.co.nosp@m.m Copyright 2021 Thincast Technologies GmbH

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

◆ demo_client_channel_data()

static BOOL demo_client_channel_data ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  param 
)
static
Here is the caller graph for this function:

◆ demo_client_end_paint()

static BOOL demo_client_end_paint ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_client_init_connect()

static BOOL demo_client_init_connect ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_client_login_failure()

static BOOL demo_client_login_failure ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_client_post_connect()

static BOOL demo_client_post_connect ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_client_post_disconnect()

static BOOL demo_client_post_disconnect ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_client_pre_connect()

static BOOL demo_client_pre_connect ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_client_redirect()

static BOOL demo_client_redirect ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_client_uninit_connect()

static BOOL demo_client_uninit_connect ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_client_x509_certificate()

static BOOL demo_client_x509_certificate ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_dyn_channel_intercept()

static BOOL demo_dyn_channel_intercept ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  arg 
)
static
Here is the caller graph for this function:

◆ demo_dyn_channel_intercept_list()

static BOOL demo_dyn_channel_intercept_list ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  arg 
)
static
Here is the caller graph for this function:

◆ demo_dynamic_channel_create()

static BOOL demo_dynamic_channel_create ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  param 
)
static
Here is the caller graph for this function:

◆ demo_filter_keyboard_event()

static BOOL demo_filter_keyboard_event ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  param 
)
static
Here is the caller graph for this function:

◆ demo_filter_unicode_event()

static BOOL demo_filter_unicode_event ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  param 
)
static
Here is the caller graph for this function:

◆ demo_mouse_event()

static BOOL demo_mouse_event ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  param 
)
static
Here is the caller graph for this function:

◆ demo_mouse_ex_event()

static BOOL demo_mouse_ex_event ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  param 
)
static
Here is the caller graph for this function:

◆ demo_plugin_unload()

static BOOL demo_plugin_unload ( proxyPlugin *  plugin)
static
Here is the caller graph for this function:

◆ demo_server_channel_data()

static BOOL demo_server_channel_data ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  param 
)
static
Here is the caller graph for this function:

◆ demo_server_channels_free()

static BOOL demo_server_channels_free ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_server_channels_init()

static BOOL demo_server_channels_init ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_server_fetch_target_addr()

static BOOL demo_server_fetch_target_addr ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  param 
)
static
Here is the caller graph for this function:

◆ demo_server_peer_activate()

static BOOL demo_server_peer_activate ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_server_peer_logon()

static BOOL demo_server_peer_logon ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  param 
)
static
Here is the caller graph for this function:

◆ demo_server_post_connect()

static BOOL demo_server_post_connect ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_server_session_end()

static BOOL demo_server_session_end ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  custom 
)
static
Here is the caller graph for this function:

◆ demo_static_channel_intercept_list()

static BOOL demo_static_channel_intercept_list ( proxyPlugin *  plugin,
proxyData *  pdata,
void *  arg 
)
static
Here is the caller graph for this function:

◆ proxy_module_entry_point()

FREERDP_API BOOL proxy_module_entry_point ( proxyPluginsManager *  plugins_manager,
void *  userdata 
)
Here is the call graph for this function:

Variable Documentation

◆ plugin_desc

constexpr char plugin_desc[] = "this is a test plugin"
staticconstexpr

◆ plugin_name

constexpr char plugin_name[] = "demo"
staticconstexpr