X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Foptions.h;h=21d859900d66fc94a90bb702642c4c7e93c9f16c;hp=7010cd414746d148ebf3fea285246c28aa50c9d7;hb=aa24b822ca14eb58439e2203f99312b7dd9431fd;hpb=b7f202e5e058f645e14104ab685c434a6f3a7ecb diff --git a/src/options.h b/src/options.h index 7010cd41..21d85990 100644 --- a/src/options.h +++ b/src/options.h @@ -186,10 +186,12 @@ struct options char *post_file_name; /* File to post */ enum { - restrict_none, - restrict_shell, + restrict_unix, restrict_windows - } restrict_file_names; /* whether we restrict file name chars. */ + } 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. */ }; extern struct options opt;