]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Gracefully handle opt.downloaded overflowing.
[wget] / src / options.h
index fcd89376d68c6749c31c1bb307f525793d933824..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 */
 
@@ -146,6 +147,8 @@ struct options
 
   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