]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Gracefully handle opt.downloaded overflowing.
[wget] / src / options.h
index 83b153606fe8c2bf364c5b9da305ea98ccf1d06f..742c75470e453e633f7b960517ab85e79739b360 100644 (file)
@@ -104,7 +104,8 @@ struct options
 
   long quota;                  /* Maximum number of bytes to
                                   retrieve. */
-  long downloaded;             /* How much we downloaded already. */
+  VERY_LONG_TYPE downloaded;   /* How much we downloaded already. */
+  int downloaded_overflow;     /* Whether the above overflowed. */
   int numurls;                 /* Number of successfully downloaded
                                   URLs */
 
@@ -142,8 +143,12 @@ struct options
   int delete_after;            /* Whether the files will be deleted
                                   after download. */
 
+  int html_extension;          /* Use ".html" extension on all text/html? */
+
   int page_requisites;         /* Whether we need to download all files
                                   necessary to display a page properly. */
+
+  struct sockaddr_in *bind_address; /* What local IP address to bind to. */
 };
 
 #ifndef OPTIONS_DEFINED_HERE