40 |
#endif |
#endif |
41 |
|
|
42 |
#ifdef EGD_SOCKET |
#ifdef EGD_SOCKET |
43 |
|
#include <sys/types.h> |
44 |
#include <sys/socket.h> /* socket connect */ |
#include <sys/socket.h> /* socket connect */ |
45 |
#include <sys/un.h> /* sockaddr_un */ |
#include <sys/un.h> /* sockaddr_un */ |
46 |
#endif |
#endif |
85 |
BOOL g_numlock_sync = False; |
BOOL g_numlock_sync = False; |
86 |
BOOL g_owncolmap = False; |
BOOL g_owncolmap = False; |
87 |
BOOL g_ownbackstore = True; /* We can't rely on external BackingStore */ |
BOOL g_ownbackstore = True; /* We can't rely on external BackingStore */ |
88 |
|
BOOL g_rdp_compression = False; |
89 |
uint32 g_embed_wnd; |
uint32 g_embed_wnd; |
90 |
uint32 g_rdp5_performanceflags = |
uint32 g_rdp5_performanceflags = |
91 |
RDP5_NO_WALLPAPER | RDP5_NO_FULLWINDOWDRAG | RDP5_NO_MENUANIMATIONS; |
RDP5_NO_WALLPAPER | RDP5_NO_FULLWINDOWDRAG | RDP5_NO_MENUANIMATIONS; |
560 |
break; |
break; |
561 |
|
|
562 |
case 'X': |
case 'X': |
563 |
g_embed_wnd = strtol(optarg, NULL, 10); |
g_embed_wnd = strtol(optarg, NULL, 0); |
564 |
break; |
break; |
565 |
|
|
566 |
case 'a': |
case 'a': |
576 |
case 'z': |
case 'z': |
577 |
DEBUG(("rdp compression enabled\n")); |
DEBUG(("rdp compression enabled\n")); |
578 |
flags |= RDP_COMPRESSION; |
flags |= RDP_COMPRESSION; |
579 |
|
g_rdp_compression = True; |
580 |
break; |
break; |
581 |
|
|
582 |
case 'x': |
case 'x': |
742 |
STRNCPY(g_hostname, fullhostname, sizeof(g_hostname)); |
STRNCPY(g_hostname, fullhostname, sizeof(g_hostname)); |
743 |
} |
} |
744 |
|
|
|
if ((flags & RDP_COMPRESSION) && (g_server_bpp > 8)) |
|
|
{ |
|
|
warning("rdp compression not supported for bpp > 8, compression disabled\n"); |
|
|
flags ^= RDP_COMPRESSION; |
|
|
} |
|
|
|
|
745 |
if (prompt_password && read_password(password, sizeof(password))) |
if (prompt_password && read_password(password, sizeof(password))) |
746 |
flags |= RDP_LOGON_AUTO; |
flags |= RDP_LOGON_AUTO; |
747 |
|
|