X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Foptions.h;h=5cb749f01d7d6bd580312a5441f4903ff9ee0854;hb=7c802e58d3e45e3a21d99c8d24dc5be806ecf174;hp=518a50def859087382e27ede11b98bd3a03b9f19;hpb=30ac043b0a4a9a983dd1b50ce1c89ed953019292;p=wget diff --git a/src/options.h b/src/options.h index 518a50de..5cb749f0 100644 --- a/src/options.h +++ b/src/options.h @@ -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,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;