]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Introduce non-strict comment parsing.
[wget] / src / options.h
index e7eff5e2766a663804370c494dbdfeafab905c13..5cb749f01d7d6bd580312a5441f4903ff9ee0854 100644 (file)
@@ -184,6 +184,17 @@ struct options
 
   char *post_data;             /* POST query string */
   char *post_file_name;                /* File to post */
+
+  enum {
+    restrict_unix,
+    restrict_windows
+  } restrict_files_os;         /* file name restriction ruleset. */
+  int restrict_files_ctrl;     /* non-zero if control chars in URLs
+                                  are restricted from appearing in
+                                  generated file names. */
+
+  int strict_comments;         /* whether strict SGML comments are
+                                  enforced.  */
 };
 
 extern struct options opt;