]> sjero.net Git - wget/blobdiff - src/options.h
[svn] Added sanity checks for -k, -p, -r and -N when -O is given. Added fixes for...
[wget] / src / options.h
index c9399d3cfd9d3e37b4a61bd310f94ff4243937f0..b50d423c21f3599ef0dab4ff5a0cab08a72b7e30 100644 (file)
@@ -1,5 +1,5 @@
 /* struct options.
-   Copyright (C) 1996-2005 Free Software Foundation, Inc.
+   Copyright (C) 1996-2006 Free Software Foundation, Inc.
 
 This file is part of GNU Wget.
 
@@ -203,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.  */
@@ -220,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;