X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Foptions.h;h=5cb749f01d7d6bd580312a5441f4903ff9ee0854;hb=7c802e58d3e45e3a21d99c8d24dc5be806ecf174;hp=34e9991cbfa95595b3b578f708078e75f05bcabb;hpb=b2be7522c745827b521a8ed535201427df32eec7;p=wget diff --git a/src/options.h b/src/options.h index 34e9991c..5cb749f0 100644 --- a/src/options.h +++ b/src/options.h @@ -35,6 +35,7 @@ struct options int verbose; /* Are we verbose? */ int quiet; /* Are we quiet? */ int ntry; /* Number of tries per URL */ + int retry_connrefused; /* Treat CONNREFUSED as non-fatal. */ int background; /* Whether we should work in background. */ int kill_longer; /* Do we reject messages with *more* data than specified in @@ -69,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. */ @@ -182,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;