60 |
int g_rdp5_performanceflags = 0; |
int g_rdp5_performanceflags = 0; |
61 |
int g_console_session = 0; |
int g_console_session = 0; |
62 |
int g_keylayout = 0x409; /* Defaults to US keyboard layout */ |
int g_keylayout = 0x409; /* Defaults to US keyboard layout */ |
63 |
|
int g_keyboard_type = 0x4; /* Defaults to US keyboard layout */ |
64 |
|
int g_keyboard_subtype = 0x0; /* Defaults to US keyboard layout */ |
65 |
|
int g_keyboard_functionkeys = 0xc; /* Defaults to US keyboard layout */ |
66 |
|
|
67 |
/* hack globals */ |
/* hack globals */ |
68 |
static int g_argc = 0; |
static int g_argc = 0; |
120 |
Qt::OrROP, // SRCPAINT DSo |
Qt::OrROP, // SRCPAINT DSo |
121 |
Qt::SetROP}; // WHITENESS 1 |
Qt::SetROP}; // WHITENESS 1 |
122 |
|
|
123 |
|
/* Session Directory redirection */ |
124 |
|
BOOL g_redirect = False; |
125 |
|
char g_redirect_server[64]; |
126 |
|
char g_redirect_domain[16]; |
127 |
|
char g_redirect_password[64]; |
128 |
|
char g_redirect_username[64]; |
129 |
|
char g_redirect_cookie[128]; |
130 |
|
uint32 g_redirect_flags = 0; |
131 |
|
|
132 |
//***************************************************************************** |
//***************************************************************************** |
133 |
uint32 Color15to32(uint32 InColor) |
uint32 Color15to32(uint32 InColor) |
134 |
{ |
{ |
1506 |
} |
} |
1507 |
|
|
1508 |
/*****************************************************************************/ |
/*****************************************************************************/ |
1509 |
|
char * xstrdup(const char * s) |
1510 |
|
{ |
1511 |
|
char * mem = strdup(s); |
1512 |
|
if (mem == NULL) |
1513 |
|
{ |
1514 |
|
perror("strdup"); |
1515 |
|
exit(1); |
1516 |
|
} |
1517 |
|
return mem; |
1518 |
|
} |
1519 |
|
|
1520 |
|
/*****************************************************************************/ |
1521 |
void warning(char * format, ...) |
void warning(char * format, ...) |
1522 |
{ |
{ |
1523 |
va_list ap; |
va_list ap; |