]> sjero.net Git - wget/blobdiff - src/options.h
[svn] New option --dns-cache.
[wget] / src / options.h
index 34e9991cbfa95595b3b578f708078e75f05bcabb..e7eff5e2766a663804370c494dbdfeafab905c13 100644 (file)
@@ -35,6 +35,7 @@ struct options
   int verbose;                 /* Are we verbose? */
   int quiet;                   /* Are we quiet? */
   int ntry;                    /* Number of tries per URL */
+  int retry_connrefused;       /* Treat CONNREFUSED as non-fatal. */
   int background;              /* Whether we should work in background. */
   int kill_longer;             /* Do we reject messages with *more*
                                   data than specified in
@@ -69,6 +70,7 @@ struct options
 
   char **domains;              /* See host.c */
   char **exclude_domains;
+  int dns_cache;               /* whether we cache DNS lookups. */
 
   char **follow_tags;           /* List of HTML tags to recursively follow. */
   char **ignore_tags;           /* List of HTML tags to ignore if recursing. */