]> sjero.net Git - wget/blobdiff - src/options.h
Fix compiler warnings
[wget] / src / options.h
index ad896275a4595fc757cde6fdc4fedac16efed656..9358e3023a5a9893b55a7f9a62346258bcdf383b 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) */
@@ -68,8 +69,8 @@ struct options
 
   char **accepts;              /* List of patterns to accept. */
   char **rejects;              /* List of patterns to reject. */
-  char **excludes;             /* List of excluded FTP directories. */
-  char **includes;             /* List of FTP directories to
+  const char **excludes;       /* List of excluded FTP directories. */
+  const char **includes;       /* List of FTP directories to
                                   follow. */
   bool ignore_case;            /* Whether to ignore case when
                                   matching dirs and files */
@@ -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. */
@@ -132,6 +134,7 @@ struct options
   char **no_proxy;
   char *base_href;
   char *progress_type;         /* progress indicator type. */
+  bool show_progress;        /* Show only the progress bar */
   char *proxy_user; /*oli*/
   char *proxy_passwd;
 
@@ -155,9 +158,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 */