/[rdesktop]/jpeg/rdesktop/trunk/rdesktop.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /jpeg/rdesktop/trunk/rdesktop.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1374 by jsorg71, Tue Jan 9 07:24:44 2007 UTC revision 1417 by jsorg71, Thu Aug 30 04:47:36 2007 UTC
# Line 77  RD_BOOL g_bitmap_cache = True; Line 77  RD_BOOL g_bitmap_cache = True;
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;
# Line 87  RD_BOOL g_use_rdp5 = True; Line 87  RD_BOOL g_use_rdp5 = True;
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;
# Line 127  static void Line 127  static void
127  usage(char *program)  usage(char *program)
128  {  {
129          fprintf(stderr, "rdesktop: A Remote Desktop Protocol client.\n");          fprintf(stderr, "rdesktop: A Remote Desktop Protocol client.\n");
130          fprintf(stderr, "Version " VERSION ". Copyright (C) 1999-2005 Matt Chapman.\n");          fprintf(stderr, "Version " VERSION ". Copyright (C) 1999-2007 Matt Chapman.\n");
131          fprintf(stderr, "See http://www.rdesktop.org/ for more information.\n\n");          fprintf(stderr, "See http://www.rdesktop.org/ for more information.\n\n");
132    
133          fprintf(stderr, "Usage: %s [options] server[:port]\n", program);          fprintf(stderr, "Usage: %s [options] server[:port]\n", program);
# Line 582  main(int argc, char *argv[]) Line 582  main(int argc, char *argv[])
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;
# Line 633  main(int argc, char *argv[]) Line 633  main(int argc, char *argv[])
633                                  g_server_depth = strtol(optarg, NULL, 10);                                  g_server_depth = strtol(optarg, NULL, 10);
634                                  if (g_server_depth != 8 &&                                  if (g_server_depth != 8 &&
635                                      g_server_depth != 16 &&                                      g_server_depth != 16 &&
636                                      g_server_depth != 15 && g_server_depth != 24)                                      g_server_depth != 15 && g_server_depth != 24
637                                        && g_server_depth != 32)
638                                  {                                  {
639                                          error("Invalid server colour depth.\n");                                          error("Invalid server colour depth.\n");
640                                          return 1;                                          return 1;
# Line 726  main(int argc, char *argv[]) Line 727  main(int argc, char *argv[])
727                                  }                                  }
728                                  else if (str_startswith(optarg, "lspci"))                                  else if (str_startswith(optarg, "lspci"))
729                                  {                                  {
730                                          lspci_enabled = True;                                          g_lspci_enabled = True;
731                                  }                                  }
732                                  else if (str_startswith(optarg, "lptport"))                                  else if (str_startswith(optarg, "lptport"))
733                                  {                                  {
# Line 920  main(int argc, char *argv[]) Line 921  main(int argc, char *argv[])
921          }          }
922  #endif  #endif
923    
924          if (lspci_enabled)          if (g_lspci_enabled)
925                  lspci_init();                  lspci_init();
926    
927          rdpdr_init();          rdpdr_init();
# Line 938  main(int argc, char *argv[]) Line 939  main(int argc, char *argv[])
939    
940                  /* By setting encryption to False here, we have an encrypted login                  /* By setting encryption to False here, we have an encrypted login
941                     packet but unencrypted transfer of other packets */                     packet but unencrypted transfer of other packets */
942                  if (!packet_encryption)                  if (!g_packet_encryption)
943                          g_encryption = False;                          g_encryption = False;
944    
945    

Legend:
Removed from v.1374  
changed lines
  Added in v.1417

  ViewVC Help
Powered by ViewVC 1.1.26