X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=src%2Foptions.h;h=7010cd414746d148ebf3fea285246c28aa50c9d7;hb=0a3697ad652df74ffeec8a97e1d23c343d8ef391;hp=518a50def859087382e27ede11b98bd3a03b9f19;hpb=30ac043b0a4a9a983dd1b50ce1c89ed953019292;p=wget diff --git a/src/options.h b/src/options.h index 518a50de..7010cd41 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,12 @@ struct options char *post_data; /* POST query string */ char *post_file_name; /* File to post */ + + enum { + restrict_none, + restrict_shell, + restrict_windows + } restrict_file_names; /* whether we restrict file name chars. */ }; extern struct options opt;