]> sjero.net Git - wget/blobdiff - src/options.h
[svn] New mechanism for quoting file names.
[wget] / src / options.h
index 518a50def859087382e27ede11b98bd3a03b9f19..7010cd414746d148ebf3fea285246c28aa50c9d7 100644 (file)
@@ -70,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. */
@@ -183,6 +184,12 @@ struct options
 
   char *post_data;             /* POST query string */
   char *post_file_name;                /* File to post */
+
+  enum {
+    restrict_none,
+    restrict_shell,
+    restrict_windows
+  } restrict_file_names;       /* whether we restrict file name chars. */
 };
 
 extern struct options opt;