]> sjero.net Git - wget/blobdiff - src/options.h
[svn] New option `--limit-rate'.
[wget] / src / options.h
index 70746b15aeaf81316afe47484af6f6cf6bb09f10..92b812a4edb8cab41ba4b8e5b1ce2eb14743c04c 100644 (file)
@@ -36,9 +36,6 @@ struct options
   int relative_only;           /* Follow only relative links. */
   int no_parent;               /* Restrict access to the parent
                                   directory.  */
-  int simple_check;            /* Should we use simple checking
-                                  (strcmp) or do we create a host
-                                  hash and call gethostbyname? */
   int reclevel;                        /* Maximum level of recursion */
   int dirstruct;               /* Do we build the directory structure
                                  as we go along? */
@@ -102,10 +99,13 @@ struct options
   long timeout;                        /* The value of read timeout in
                                   seconds. */
 #endif
+  int random_wait;             /* vary from 0 .. wait secs by random()? */
   long wait;                   /* The wait period between retrievals. */
   long waitretry;              /* The wait period between retries. - HEH */
   int use_robots;              /* Do we heed robots.txt? */
 
+  long limit_rate;             /* Limit the download rate to this
+                                  many bps. */
   long quota;                  /* Maximum number of bytes to
                                   retrieve. */
   VERY_LONG_TYPE downloaded;   /* How much we downloaded already. */