FreeRDP
tf_freerdp.c File Reference
#include <freerdp/config.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <freerdp/freerdp.h>
#include <freerdp/constants.h>
#include <freerdp/gdi/gdi.h>
#include <freerdp/streamdump.h>
#include <freerdp/utils/signal.h>
#include <freerdp/client/file.h>
#include <freerdp/client/cmdline.h>
#include <freerdp/client/cliprdr.h>
#include <freerdp/client/channels.h>
#include <freerdp/channels/channels.h>
#include <winpr/crt.h>
#include <winpr/assert.h>
#include <winpr/synch.h>
#include <freerdp/log.h>
#include "tf_channels.h"
#include "tf_freerdp.h"

Macros

#define TAG   CLIENT_TAG("sample")
 

Functions

static BOOL tf_begin_paint (rdpContext *context)
 
static BOOL tf_end_paint (rdpContext *context)
 
static BOOL tf_desktop_resize (rdpContext *context)
 
static BOOL tf_play_sound (rdpContext *context, const PLAY_SOUND_UPDATE *play_sound)
 
static BOOL tf_keyboard_set_indicators (rdpContext *context, UINT16 led_flags)
 
static BOOL tf_keyboard_set_ime_status (rdpContext *context, UINT16 imeId, UINT32 imeState, UINT32 imeConvMode)
 
static BOOL tf_pre_connect (freerdp *instance)
 
static BOOL tf_post_connect (freerdp *instance)
 
static void tf_post_disconnect (freerdp *instance)
 
static DWORD WINAPI tf_client_thread_proc (LPVOID arg)
 
static BOOL tf_client_global_init (void)
 
static void tf_client_global_uninit (void)
 
static int tf_logon_error_info (freerdp *instance, UINT32 data, UINT32 type)
 
static BOOL tf_client_new (freerdp *instance, rdpContext *context)
 
static void tf_client_free (freerdp *instance, rdpContext *context)
 
static int tf_client_start (rdpContext *context)
 
static int tf_client_stop (rdpContext *context)
 
static int RdpClientEntry (RDP_CLIENT_ENTRY_POINTS *pEntryPoints)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ TAG

#define TAG   CLIENT_TAG("sample")

FreeRDP: A Remote Desktop Protocol Implementation FreeRDP Test UI

Copyright 2011 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2016,2018 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2016,2018 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

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ RdpClientEntry()

static int RdpClientEntry ( RDP_CLIENT_ENTRY_POINTS pEntryPoints)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tf_begin_paint()

static BOOL tf_begin_paint ( rdpContext *  context)
static
Here is the caller graph for this function:

◆ tf_client_free()

static void tf_client_free ( freerdp *  instance,
rdpContext *  context 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tf_client_global_init()

static BOOL tf_client_global_init ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tf_client_global_uninit()

static void tf_client_global_uninit ( void  )
static
Here is the caller graph for this function:

◆ tf_client_new()

static BOOL tf_client_new ( freerdp *  instance,
rdpContext *  context 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tf_client_start()

static int tf_client_start ( rdpContext *  context)
static
Here is the caller graph for this function:

◆ tf_client_stop()

static int tf_client_stop ( rdpContext *  context)
static
Here is the caller graph for this function:

◆ tf_client_thread_proc()

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

◆ tf_desktop_resize()

static BOOL tf_desktop_resize ( rdpContext *  context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tf_end_paint()

static BOOL tf_end_paint ( rdpContext *  context)
static
Here is the caller graph for this function:

◆ tf_keyboard_set_ime_status()

static BOOL tf_keyboard_set_ime_status ( rdpContext *  context,
UINT16  imeId,
UINT32  imeState,
UINT32  imeConvMode 
)
static
Here is the caller graph for this function:

◆ tf_keyboard_set_indicators()

static BOOL tf_keyboard_set_indicators ( rdpContext *  context,
UINT16  led_flags 
)
static
Here is the caller graph for this function:

◆ tf_logon_error_info()

static int tf_logon_error_info ( freerdp *  instance,
UINT32  data,
UINT32  type 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tf_play_sound()

static BOOL tf_play_sound ( rdpContext *  context,
const PLAY_SOUND_UPDATE play_sound 
)
static
Here is the caller graph for this function:

◆ tf_post_connect()

static BOOL tf_post_connect ( freerdp *  instance)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tf_post_disconnect()

static void tf_post_disconnect ( freerdp *  instance)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tf_pre_connect()

static BOOL tf_pre_connect ( freerdp *  instance)
static
Here is the call graph for this function:
Here is the caller graph for this function: