]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Improved --restrict-file-names to accept ",nocontrol".
[wget] / src / options.h
index 7010cd414746d148ebf3fea285246c28aa50c9d7..21d859900d66fc94a90bb702642c4c7e93c9f16c 100644 (file)
@@ -186,10 +186,12 @@ struct options
   char *post_file_name;                /* File to post */
 
   enum {
-    restrict_none,
-    restrict_shell,
+    restrict_unix,
     restrict_windows
-  } restrict_file_names;       /* whether we restrict file name chars. */
+  } 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. */
 };
 
 extern struct options opt;