51 |
int g_rdp5_performanceflags = 0; |
int g_rdp5_performanceflags = 0; |
52 |
int g_console_session = 0; |
int g_console_session = 0; |
53 |
int g_keylayout = 0x409; /* Defaults to US keyboard layout */ |
int g_keylayout = 0x409; /* Defaults to US keyboard layout */ |
54 |
|
int g_keyboard_type = 0x4; /* Defaults to US keyboard layout */ |
55 |
|
int g_keyboard_subtype = 0x0; /* Defaults to US keyboard layout */ |
56 |
|
int g_keyboard_functionkeys = 0xc; /* Defaults to US keyboard layout */ |
57 |
|
|
58 |
/* hack globals */ |
/* hack globals */ |
59 |
int g_argc = 0; |
int g_argc = 0; |
111 |
|
|
112 |
static int g_draw_mouse = 1; |
static int g_draw_mouse = 1; |
113 |
|
|
114 |
|
/* Session Directory redirection */ |
115 |
|
BOOL g_redirect = False; |
116 |
|
char g_redirect_server[64]; |
117 |
|
char g_redirect_domain[16]; |
118 |
|
char g_redirect_password[64]; |
119 |
|
char g_redirect_username[64]; |
120 |
|
char g_redirect_cookie[128]; |
121 |
|
uint32 g_redirect_flags = 0; |
122 |
|
|
123 |
// bitmap |
// bitmap |
124 |
typedef struct |
typedef struct |
125 |
{ |
{ |
1699 |
} |
} |
1700 |
|
|
1701 |
/*****************************************************************************/ |
/*****************************************************************************/ |
1702 |
|
char * xstrdup(const char * s) |
1703 |
|
{ |
1704 |
|
char * mem = strdup(s); |
1705 |
|
if (mem == NULL) |
1706 |
|
{ |
1707 |
|
perror("strdup"); |
1708 |
|
exit(1); |
1709 |
|
} |
1710 |
|
return mem; |
1711 |
|
} |
1712 |
|
|
1713 |
|
/*****************************************************************************/ |
1714 |
void warning(char* format, ...) |
void warning(char* format, ...) |
1715 |
{ |
{ |
1716 |
va_list ap; |
va_list ap; |