]> sjero.net Git - wget/blobdiff - src/options.h
NEWS: cite --start-pos
[wget] / src / options.h
index 0a10c9b396b6ae4491c572a2308eca350b1b3603..b527829ef82680f21da8591e6837d13d6c0cf28a 100644 (file)
@@ -60,6 +60,7 @@ struct options
   char *lfilename;             /* Log filename */
   char *input_filename;                /* Input filename */
   char *choose_config;         /* Specified config file */
+  bool noconfig;
   bool force_html;             /* Is the input file an HTML file? */
 
   char *default_page;           /* Alternative default page (index file) */
@@ -115,6 +116,7 @@ struct options
   bool ask_passwd;              /* Ask for password? */
 
   bool always_rest;            /* Always use REST. */
+  wgint start_pos;             /* Start position of a download. */
   char *ftp_user;              /* FTP username */
   char *ftp_passwd;            /* FTP password */
   bool netrc;                  /* Whether to read .netrc. */
@@ -155,9 +157,7 @@ struct options
   bool content_on_error;       /* Do we output the content when the HTTP
                                   status code indicates a server error */
 
-#ifdef ENABLE_DEBUG
   bool debug;                  /* Debugging on/off */
-#endif
 
 #ifdef USE_WATT32
   bool wdebug;                  /* Watt-32 tcp/ip debugging on/off */
@@ -200,7 +200,8 @@ struct options
     secure_protocol_auto,
     secure_protocol_sslv2,
     secure_protocol_sslv3,
-    secure_protocol_tlsv1
+    secure_protocol_tlsv1,
+    secure_protocol_pfs
   } secure_protocol;           /* type of secure protocol to use. */
   bool check_cert;             /* whether to validate the server's cert */
   char *cert_file;             /* external client certificate to use. */
@@ -215,9 +216,9 @@ struct options
   char *ca_directory;          /* CA directory (hash files) */
   char *ca_cert;               /* CA certificate file to use */
 
-
   char *random_file;           /* file with random data to seed the PRNG */
   char *egd_file;              /* file name of the egd daemon socket */
+  bool https_only;             /* whether to follow HTTPS only */
 #endif /* HAVE_SSL */
 
   bool cookies;                        /* whether cookies are used. */