77 |
RD_BOOL g_bitmap_cache_persist_enable = False; |
RD_BOOL g_bitmap_cache_persist_enable = False; |
78 |
RD_BOOL g_bitmap_cache_precache = True; |
RD_BOOL g_bitmap_cache_precache = True; |
79 |
RD_BOOL g_encryption = True; |
RD_BOOL g_encryption = True; |
80 |
RD_BOOL packet_encryption = True; |
RD_BOOL g_packet_encryption = True; |
81 |
RD_BOOL g_desktop_save = True; /* desktop save order */ |
RD_BOOL g_desktop_save = True; /* desktop save order */ |
82 |
RD_BOOL g_polygon_ellipse_orders = True; /* polygon / ellipse orders */ |
RD_BOOL g_polygon_ellipse_orders = True; /* polygon / ellipse orders */ |
83 |
RD_BOOL g_fullscreen = False; |
RD_BOOL g_fullscreen = False; |
87 |
RD_BOOL g_rdpclip = True; |
RD_BOOL g_rdpclip = True; |
88 |
RD_BOOL g_console_session = False; |
RD_BOOL g_console_session = False; |
89 |
RD_BOOL g_numlock_sync = False; |
RD_BOOL g_numlock_sync = False; |
90 |
RD_BOOL lspci_enabled = False; |
RD_BOOL g_lspci_enabled = False; |
91 |
RD_BOOL g_owncolmap = False; |
RD_BOOL g_owncolmap = False; |
92 |
RD_BOOL g_ownbackstore = True; /* We can't rely on external BackingStore */ |
RD_BOOL g_ownbackstore = True; /* We can't rely on external BackingStore */ |
93 |
RD_BOOL g_seamless_rdp = False; |
RD_BOOL g_seamless_rdp = False; |
582 |
g_encryption = False; |
g_encryption = False; |
583 |
break; |
break; |
584 |
case 'E': |
case 'E': |
585 |
packet_encryption = False; |
g_packet_encryption = False; |
586 |
break; |
break; |
587 |
case 'm': |
case 'm': |
588 |
g_sendmotion = False; |
g_sendmotion = False; |
726 |
} |
} |
727 |
else if (str_startswith(optarg, "lspci")) |
else if (str_startswith(optarg, "lspci")) |
728 |
{ |
{ |
729 |
lspci_enabled = True; |
g_lspci_enabled = True; |
730 |
} |
} |
731 |
else if (str_startswith(optarg, "lptport")) |
else if (str_startswith(optarg, "lptport")) |
732 |
{ |
{ |
920 |
} |
} |
921 |
#endif |
#endif |
922 |
|
|
923 |
if (lspci_enabled) |
if (g_lspci_enabled) |
924 |
lspci_init(); |
lspci_init(); |
925 |
|
|
926 |
rdpdr_init(); |
rdpdr_init(); |
938 |
|
|
939 |
/* By setting encryption to False here, we have an encrypted login |
/* By setting encryption to False here, we have an encrypted login |
940 |
packet but unencrypted transfer of other packets */ |
packet but unencrypted transfer of other packets */ |
941 |
if (!packet_encryption) |
if (!g_packet_encryption) |
942 |
g_encryption = False; |
g_encryption = False; |
943 |
|
|
944 |
|
|