FreeRDP
wlfreerdp.c File Reference
#include <math.h>
#include <stdio.h>
#include <errno.h>
#include <locale.h>
#include <float.h>
#include <winpr/sysinfo.h>
#include <freerdp/client/cmdline.h>
#include <freerdp/channels/channels.h>
#include <freerdp/gdi/gdi.h>
#include <freerdp/client.h>
#include <freerdp/utils/signal.h>
#include <freerdp/locale/keyboard.h>
#include <linux/input.h>
#include <uwac/uwac.h>
#include "wlfreerdp.h"
#include "wlf_input.h"
#include "wlf_cliprdr.h"
#include "wlf_disp.h"
#include "wlf_channels.h"
#include "wlf_pointer.h"

Macros

#define TAG   CLIENT_TAG("wayland")
 

Functions

static BOOL wl_update_buffer (wlfContext *context_w, INT32 ix, INT32 iy, INT32 iw, INT32 ih)
 
static BOOL wl_end_paint (rdpContext *context)
 
static BOOL wl_refresh_display (wlfContext *context)
 
static BOOL wl_resize_display (rdpContext *context)
 
static BOOL wl_pre_connect (freerdp *instance)
 
static BOOL wl_post_connect (freerdp *instance)
 
static void wl_post_disconnect (freerdp *instance)
 
static BOOL handle_uwac_events (freerdp *instance, UwacDisplay *display)
 
static BOOL handle_window_events (freerdp *instance)
 
static int wlfreerdp_run (freerdp *instance)
 
static BOOL wlf_client_global_init (void)
 
static void wlf_client_global_uninit (void)
 
static int wlf_logon_error_info (freerdp *instance, UINT32 data, UINT32 type)
 
static void wlf_client_free (freerdp *instance, rdpContext *context)
 
static void * uwac_event_clone (const void *val)
 
static BOOL wlf_client_new (freerdp *instance, rdpContext *context)
 
static int wfl_client_start (rdpContext *context)
 
static int RdpClientEntry (RDP_CLIENT_ENTRY_POINTS *pEntryPoints)
 
int main (int argc, char *argv[])
 
BOOL wlf_copy_image (const void *src, size_t srcStride, size_t srcWidth, size_t srcHeight, void *dst, size_t dstStride, size_t dstWidth, size_t dstHeight, const RECTANGLE_16 *area, BOOL scale)
 
BOOL wlf_scale_coordinates (rdpContext *context, UINT32 *px, UINT32 *py, BOOL fromLocalToRDP)
 

Macro Definition Documentation

◆ TAG

#define TAG   CLIENT_TAG("wayland")

FreeRDP: A Remote Desktop Protocol Implementation Wayland Client

Copyright 2014 Manuel Bachmann tarny.nosp@m.ko@t.nosp@m.arnyk.nosp@m.o.ne.nosp@m.t Copyright 2016 Thincast Technologies GmbH Copyright 2016 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m

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

◆ handle_uwac_events()

static BOOL handle_uwac_events ( freerdp *  instance,
UwacDisplay *  display 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_window_events()

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

◆ 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:

◆ uwac_event_clone()

static void* uwac_event_clone ( const void *  val)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wfl_client_start()

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

◆ wl_end_paint()

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

◆ wl_post_connect()

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

◆ wl_post_disconnect()

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

◆ wl_pre_connect()

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

◆ wl_refresh_display()

static BOOL wl_refresh_display ( wlfContext context)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wl_resize_display()

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

◆ wl_update_buffer()

static BOOL wl_update_buffer ( wlfContext context_w,
INT32  ix,
INT32  iy,
INT32  iw,
INT32  ih 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_client_free()

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

◆ wlf_client_global_init()

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

◆ wlf_client_global_uninit()

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

◆ wlf_client_new()

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

◆ wlf_copy_image()

BOOL wlf_copy_image ( const void *  src,
size_t  srcStride,
size_t  srcWidth,
size_t  srcHeight,
void *  dst,
size_t  dstStride,
size_t  dstWidth,
size_t  dstHeight,
const RECTANGLE_16 area,
BOOL  scale 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlf_logon_error_info()

static int wlf_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:

◆ wlf_scale_coordinates()

BOOL wlf_scale_coordinates ( rdpContext *  context,
UINT32 *  px,
UINT32 *  py,
BOOL  fromLocalToRDP 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wlfreerdp_run()

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