rdesktop  1.9.0
About: rdesktop is a client for Windows Terminal Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user’s Windows desktop.
  Fossies Dox: rdesktop-1.9.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

seamless.c File Reference
#include "rdesktop.h"
#include <stdarg.h>
#include <assert.h>
Include dependency graph for seamless.c:

Go to the source code of this file.

Functions

static char * seamless_get_token (char **s)
 
static RD_BOOL seamless_process_line (const char *line, void *data)
 
static RD_BOOL seamless_line_handler (const char *line, void *data)
 
static void seamless_process (STREAM s)
 
RD_BOOL seamless_init (void)
 
void seamless_reset_state (void)
 
static unsigned int seamless_send (const char *command, const char *format,...)
 
unsigned int seamless_send_sync ()
 
unsigned int seamless_send_state (unsigned long id, unsigned int state, unsigned long flags)
 
unsigned int seamless_send_position (unsigned long id, int x, int y, int width, int height, unsigned long flags)
 
void seamless_select_timeout (struct timeval *tv)
 
unsigned int seamless_send_zchange (unsigned long id, unsigned long below, unsigned long flags)
 
unsigned int seamless_send_focus (unsigned long id, unsigned long flags)
 
unsigned int seamless_send_destroy (unsigned long id)
 
unsigned int seamless_send_spawn (char *cmdline)
 
unsigned int seamless_send_persistent (RD_BOOL enable)
 

Variables

RD_BOOL g_seamless_rdp
 
static VCHANNELseamless_channel
 
static unsigned int seamless_serial
 
static char * seamless_rest = NULL
 
static char icon_buf [1024]
 

Function Documentation

◆ seamless_get_token()

static char* seamless_get_token ( char **  s)
static

Definition at line 33 of file seamless.c.

Referenced by seamless_process_line().

◆ seamless_init()

◆ seamless_line_handler()

static RD_BOOL seamless_line_handler ( const char *  line,
void *  data 
)
static

Definition at line 364 of file seamless.c.

References Core, _TThreadListElement::data, logger(), seamless_process_line(), True, and Warning.

Referenced by seamless_process().

◆ seamless_process()

static void seamless_process ( STREAM  s)
static

◆ seamless_process_line()

◆ seamless_reset_state()

void seamless_reset_state ( void  )

Definition at line 406 of file seamless.c.

References seamless_rest, and xfree().

Referenced by ui_create_window().

◆ seamless_select_timeout()

void seamless_select_timeout ( struct timeval *  tv)

Definition at line 485 of file seamless.c.

References g_seamless_rdp, SEAMLESSRDP_POSITION_TIMER, and timercmp.

Referenced by process_fds().

◆ seamless_send()

◆ seamless_send_destroy()

unsigned int seamless_send_destroy ( unsigned long  id)

Definition at line 522 of file seamless.c.

References seamless_send().

Referenced by xwin_process_events().

◆ seamless_send_focus()

unsigned int seamless_send_focus ( unsigned long  id,
unsigned long  flags 
)

Definition at line 512 of file seamless.c.

References g_seamless_rdp, and seamless_send().

Referenced by xwin_process_events().

◆ seamless_send_persistent()

unsigned int seamless_send_persistent ( RD_BOOL  enable)

Definition at line 540 of file seamless.c.

References Core, Debug, g_seamless_rdp, logger(), and seamless_send().

Referenced by ui_seamless_begin().

◆ seamless_send_position()

unsigned int seamless_send_position ( unsigned long  id,
int  x,
int  y,
int  width,
int  height,
unsigned long  flags 
)

Definition at line 476 of file seamless.c.

References seamless_send(), and width.

Referenced by sw_update_position().

◆ seamless_send_spawn()

unsigned int seamless_send_spawn ( char *  cmdline)

Definition at line 528 of file seamless.c.

References g_seamless_rdp, and seamless_send().

Referenced by _ctrl_dispatch_command(), and ui_seamless_begin().

◆ seamless_send_state()

unsigned int seamless_send_state ( unsigned long  id,
unsigned int  state,
unsigned long  flags 
)

Definition at line 466 of file seamless.c.

References g_seamless_rdp, and seamless_send().

Referenced by xwin_process_events().

◆ seamless_send_sync()

unsigned int seamless_send_sync ( void  )

Definition at line 456 of file seamless.c.

References g_seamless_rdp, and seamless_send().

Referenced by ui_seamless_toggle().

◆ seamless_send_zchange()

unsigned int seamless_send_zchange ( unsigned long  id,
unsigned long  below,
unsigned long  flags 
)

Definition at line 501 of file seamless.c.

References g_seamless_rdp, and seamless_send().

Referenced by sw_handle_restack().

Variable Documentation

◆ g_seamless_rdp

◆ icon_buf

char icon_buf[1024]
static

Definition at line 30 of file seamless.c.

Referenced by seamless_process_line().

◆ seamless_channel

VCHANNEL* seamless_channel
static

Definition at line 27 of file seamless.c.

Referenced by seamless_init(), and seamless_send().

◆ seamless_rest

char* seamless_rest = NULL
static

Definition at line 29 of file seamless.c.

Referenced by seamless_process(), and seamless_reset_state().

◆ seamless_serial

unsigned int seamless_serial
static

Definition at line 28 of file seamless.c.

Referenced by seamless_init(), and seamless_send().