]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Updated long_to_string(); enhanced opt.downloaded to use
[wget] / src / options.h
index 1036c6f2cd28fba6358c75e4cc15dc3e785d9a90..a11de0e4e88fdc892a7606f562f848ab33665547 100644 (file)
@@ -64,6 +64,9 @@ struct options
   char **domains;              /* See host.c */
   char **exclude_domains;
 
+  char **follow_tags;           /* List of HTML tags to recursively follow. */
+  char **ignore_tags;           /* List of HTML tags to ignore if recursing. */
+
   int follow_ftp;              /* Are FTP URL-s followed in recursive
                                   retrieving? */
   int retr_symlinks;           /* Whether we retrieve symlinks in
@@ -101,7 +104,7 @@ 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 numurls;                 /* Number of successfully downloaded
                                   URLs */
 
@@ -138,6 +141,13 @@ 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