FreeRDP
xfreerdp.h File Reference
#include <freerdp/api.h>
#include "xf_window.h"
#include "xf_monitor.h"
#include "xf_channels.h"
#include <freerdp/gdi/gdi.h>
#include <freerdp/codec/rfx.h>
#include <freerdp/codec/nsc.h>
#include <freerdp/codec/clear.h>
#include <freerdp/codec/color.h>
#include <freerdp/codec/bitmap.h>
#include <freerdp/codec/h264.h>
#include <freerdp/codec/progressive.h>
#include <freerdp/codec/region.h>
This graph shows which files directly or indirectly include this file:

Data Structures

struct  xfFullscreenMonitors
 
struct  xfWorkArea
 
struct  xfPointer
 
struct  xfBitmap
 
struct  xfGlyph
 
struct  button_map
 
struct  xfContext
 

Macros

#define NUM_BUTTONS_MAPPED   11
 
#define xf_lock_x11(xfc)   xf_lock_x11_(xfc, __FUNCTION__)
 
#define xf_unlock_x11(xfc)   xf_unlock_x11_(xfc, __FUNCTION__)
 
#define xf_draw_screen(_xfc, _x, _y, _w, _h)   xf_draw_screen_((_xfc), (_x), (_y), (_w), (_h), __FUNCTION__, __FILE__, __LINE__)
 

Typedefs

typedef unsigned int XcursorUInt
 
typedef XcursorUInt XcursorPixel
 
typedef struct _xfVideoContext xfVideoContext
 

Enumerations

enum  XF_EXIT_CODE {
  XF_EXIT_SUCCESS = 0, XF_EXIT_DISCONNECT = 1, XF_EXIT_LOGOFF = 2, XF_EXIT_IDLE_TIMEOUT = 3,
  XF_EXIT_LOGON_TIMEOUT = 4, XF_EXIT_CONN_REPLACED = 5, XF_EXIT_OUT_OF_MEMORY = 6, XF_EXIT_CONN_DENIED = 7,
  XF_EXIT_CONN_DENIED_FIPS = 8, XF_EXIT_USER_PRIVILEGES = 9, XF_EXIT_FRESH_CREDENTIALS_REQUIRED = 10, XF_EXIT_DISCONNECT_BY_USER = 11,
  XF_EXIT_LICENSE_INTERNAL = 16, XF_EXIT_LICENSE_NO_LICENSE_SERVER = 17, XF_EXIT_LICENSE_NO_LICENSE = 18, XF_EXIT_LICENSE_BAD_CLIENT_MSG = 19,
  XF_EXIT_LICENSE_HWID_DOESNT_MATCH = 20, XF_EXIT_LICENSE_BAD_CLIENT = 21, XF_EXIT_LICENSE_CANT_FINISH_PROTOCOL = 22, XF_EXIT_LICENSE_CLIENT_ENDED_PROTOCOL = 23,
  XF_EXIT_LICENSE_BAD_CLIENT_ENCRYPTION = 24, XF_EXIT_LICENSE_CANT_UPGRADE = 25, XF_EXIT_LICENSE_NO_REMOTE_CONNECTIONS = 26, XF_EXIT_RDP = 32,
  XF_EXIT_PARSE_ARGUMENTS = 128, XF_EXIT_MEMORY = 129, XF_EXIT_PROTOCOL = 130, XF_EXIT_CONN_FAILED = 131,
  XF_EXIT_AUTH_FAILURE = 132, XF_EXIT_NEGO_FAILURE = 133, XF_EXIT_LOGON_FAILURE = 134, XF_EXIT_ACCOUNT_LOCKED_OUT = 135,
  XF_EXIT_PRE_CONNECT_FAILED = 136, XF_EXIT_CONNECT_UNDEFINED = 137, XF_EXIT_POST_CONNECT_FAILED = 138, XF_EXIT_DNS_ERROR = 139,
  XF_EXIT_DNS_NAME_NOT_FOUND = 140, XF_EXIT_CONNECT_FAILED = 141, XF_EXIT_MCS_CONNECT_INITIAL_ERROR = 142, XF_EXIT_TLS_CONNECT_FAILED = 143,
  XF_EXIT_INSUFFICIENT_PRIVILEGES = 144, XF_EXIT_CONNECT_CANCELLED = 145, XF_EXIT_SECURITY_NEGO_CONNECT_FAILED = 146, XF_EXIT_CONNECT_TRANSPORT_FAILED = 147,
  XF_EXIT_CONNECT_PASSWORD_EXPIRED = 148, XF_EXIT_CONNECT_PASSWORD_MUST_CHANGE = 149, XF_EXIT_CONNECT_KDC_UNREACHABLE = 150, XF_EXIT_CONNECT_ACCOUNT_DISABLED = 151,
  XF_EXIT_CONNECT_PASSWORD_CERTAINLY_EXPIRED = 152, XF_EXIT_CONNECT_CLIENT_REVOKED = 153, XF_EXIT_CONNECT_WRONG_PASSWORD = 154, XF_EXIT_CONNECT_ACCESS_DENIED = 155,
  XF_EXIT_CONNECT_ACCOUNT_RESTRICTION = 156, XF_EXIT_CONNECT_ACCOUNT_EXPIRED = 157, XF_EXIT_CONNECT_LOGON_TYPE_NOT_GRANTED = 158, XF_EXIT_CONNECT_NO_OR_MISSING_CREDENTIALS = 159,
  XF_EXIT_UNKNOWN = 255
}
 

Functions

BOOL xf_create_window (xfContext *xfc)
 
void xf_toggle_fullscreen (xfContext *xfc)
 
BOOL xf_toggle_control (xfContext *xfc)
 
void xf_encomsp_init (xfContext *xfc, EncomspClientContext *encomsp)
 
void xf_encomsp_uninit (xfContext *xfc, EncomspClientContext *encomsp)
 
void xf_lock_x11_ (xfContext *xfc, const char *fkt)
 
void xf_unlock_x11_ (xfContext *xfc, const char *fkt)
 
BOOL xf_picture_transform_required (xfContext *xfc)
 
void xf_draw_screen_ (xfContext *xfc, int x, int y, int w, int h, const char *fkt, const char *file, int line)
 
FREERDP_API DWORD xf_exit_code_from_disconnect_reason (DWORD reason)
 

Macro Definition Documentation

◆ NUM_BUTTONS_MAPPED

#define NUM_BUTTONS_MAPPED   11

◆ xf_draw_screen

#define xf_draw_screen (   _xfc,
  _x,
  _y,
  _w,
  _h 
)    xf_draw_screen_((_xfc), (_x), (_y), (_w), (_h), __FUNCTION__, __FILE__, __LINE__)

◆ xf_lock_x11

#define xf_lock_x11 (   xfc)    xf_lock_x11_(xfc, __FUNCTION__)

◆ xf_unlock_x11

#define xf_unlock_x11 (   xfc)    xf_unlock_x11_(xfc, __FUNCTION__)

Typedef Documentation

◆ XcursorPixel

◆ XcursorUInt

typedef unsigned int XcursorUInt

◆ xfVideoContext

typedef struct _xfVideoContext xfVideoContext

Enumeration Type Documentation

◆ XF_EXIT_CODE

Enumerator
XF_EXIT_SUCCESS 
XF_EXIT_DISCONNECT 
XF_EXIT_LOGOFF 
XF_EXIT_IDLE_TIMEOUT 
XF_EXIT_LOGON_TIMEOUT 
XF_EXIT_CONN_REPLACED 
XF_EXIT_OUT_OF_MEMORY 
XF_EXIT_CONN_DENIED 
XF_EXIT_CONN_DENIED_FIPS 
XF_EXIT_USER_PRIVILEGES 
XF_EXIT_FRESH_CREDENTIALS_REQUIRED 
XF_EXIT_DISCONNECT_BY_USER 
XF_EXIT_LICENSE_INTERNAL 
XF_EXIT_LICENSE_NO_LICENSE_SERVER 
XF_EXIT_LICENSE_NO_LICENSE 
XF_EXIT_LICENSE_BAD_CLIENT_MSG 
XF_EXIT_LICENSE_HWID_DOESNT_MATCH 
XF_EXIT_LICENSE_BAD_CLIENT 
XF_EXIT_LICENSE_CANT_FINISH_PROTOCOL 
XF_EXIT_LICENSE_CLIENT_ENDED_PROTOCOL 
XF_EXIT_LICENSE_BAD_CLIENT_ENCRYPTION 
XF_EXIT_LICENSE_CANT_UPGRADE 
XF_EXIT_LICENSE_NO_REMOTE_CONNECTIONS 
XF_EXIT_RDP 
XF_EXIT_PARSE_ARGUMENTS 
XF_EXIT_MEMORY 
XF_EXIT_PROTOCOL 
XF_EXIT_CONN_FAILED 
XF_EXIT_AUTH_FAILURE 
XF_EXIT_NEGO_FAILURE 
XF_EXIT_LOGON_FAILURE 
XF_EXIT_ACCOUNT_LOCKED_OUT 
XF_EXIT_PRE_CONNECT_FAILED 
XF_EXIT_CONNECT_UNDEFINED 
XF_EXIT_POST_CONNECT_FAILED 
XF_EXIT_DNS_ERROR 
XF_EXIT_DNS_NAME_NOT_FOUND 
XF_EXIT_CONNECT_FAILED 
XF_EXIT_MCS_CONNECT_INITIAL_ERROR 
XF_EXIT_TLS_CONNECT_FAILED 
XF_EXIT_INSUFFICIENT_PRIVILEGES 
XF_EXIT_CONNECT_CANCELLED 
XF_EXIT_SECURITY_NEGO_CONNECT_FAILED 
XF_EXIT_CONNECT_TRANSPORT_FAILED 
XF_EXIT_CONNECT_PASSWORD_EXPIRED 
XF_EXIT_CONNECT_PASSWORD_MUST_CHANGE 
XF_EXIT_CONNECT_KDC_UNREACHABLE 
XF_EXIT_CONNECT_ACCOUNT_DISABLED 
XF_EXIT_CONNECT_PASSWORD_CERTAINLY_EXPIRED 
XF_EXIT_CONNECT_CLIENT_REVOKED 
XF_EXIT_CONNECT_WRONG_PASSWORD 
XF_EXIT_CONNECT_ACCESS_DENIED 
XF_EXIT_CONNECT_ACCOUNT_RESTRICTION 
XF_EXIT_CONNECT_ACCOUNT_EXPIRED 
XF_EXIT_CONNECT_LOGON_TYPE_NOT_GRANTED 
XF_EXIT_CONNECT_NO_OR_MISSING_CREDENTIALS 
XF_EXIT_UNKNOWN 

Function Documentation

◆ xf_create_window()

BOOL xf_create_window ( xfContext *  xfc)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_draw_screen_()

void xf_draw_screen_ ( xfContext *  xfc,
int  x,
int  y,
int  w,
int  h,
const char *  fkt,
const char *  file,
int  line 
)
Here is the call graph for this function:

◆ xf_encomsp_init()

void xf_encomsp_init ( xfContext *  xfc,
EncomspClientContext *  encomsp 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_encomsp_uninit()

void xf_encomsp_uninit ( xfContext *  xfc,
EncomspClientContext *  encomsp 
)
Here is the caller graph for this function:

◆ xf_exit_code_from_disconnect_reason()

FREERDP_API DWORD xf_exit_code_from_disconnect_reason ( DWORD  reason)
Here is the caller graph for this function:

◆ xf_lock_x11_()

void xf_lock_x11_ ( xfContext *  xfc,
const char *  fkt 
)
Here is the call graph for this function:

◆ xf_picture_transform_required()

BOOL xf_picture_transform_required ( xfContext *  xfc)
Here is the caller graph for this function:

◆ xf_toggle_control()

BOOL xf_toggle_control ( xfContext *  xfc)
Here is the caller graph for this function:

◆ xf_toggle_fullscreen()

void xf_toggle_fullscreen ( xfContext *  xfc)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ xf_unlock_x11_()

void xf_unlock_x11_ ( xfContext *  xfc,
const char *  fkt 
)
Here is the call graph for this function: