]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Added support for --restrict-file-names=lowercase and --restrict-file-names...
[wget] / src / options.h
index 8d57d46325e54962c47bf2c76d2c14779860c98a..a7e36273c2e9f3f8af1206b7b3229b69be8e02e3 100644 (file)
@@ -35,9 +35,6 @@ struct options
   int ntry;                    /* Number of tries per URL */
   bool retry_connrefused;      /* Treat CONNREFUSED as non-fatal. */
   bool background;             /* Whether we should work in background. */
-  bool kill_longer;            /* Do we reject messages with *more*
-                                  data than specified in
-                                  content-length? */
   bool ignore_length;          /* Do we heed content-length at all?  */
   bool recursive;              /* Are we recursive? */
   bool spanhost;                       /* Do we span across hosts in
@@ -206,6 +203,11 @@ struct options
   bool restrict_files_ctrl;    /* non-zero if control chars in URLs
                                   are restricted from appearing in
                                   generated file names. */
+  enum {
+    restrict_no_case_restriction,
+    restrict_lowercase,
+    restrict_uppercase
+  } restrict_files_case;       /* file name case restriction. */
 
   bool strict_comments;                /* whether strict SGML comments are
                                   enforced.  */
@@ -223,6 +225,8 @@ struct options
     prefer_none
   } prefer_family;             /* preferred address family when more
                                   than one type is available */
+  
+  bool content_disposition;    /* Honor HTTP Content-Disposition header. */
 };
 
 extern struct options opt;