X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Foptions.h;h=44e0a703c0b55e60f2c447579f983512e5070510;hp=1f429906dcdc8378653f3b6de262d6c0753484a7;hb=b1838bdfd197ec970d834ce5042995df92516841;hpb=b9b510ca5f9c13f8d3f129faae61f324f5c816d5 diff --git a/src/options.h b/src/options.h index 1f429906..44e0a703 100644 --- a/src/options.h +++ b/src/options.h @@ -74,6 +74,19 @@ struct options bool ignore_case; /* Whether to ignore case when matching dirs and files */ + char *acceptregex_s; /* Patterns to accept (a regex string). */ + char *rejectregex_s; /* Patterns to reject (a regex string). */ + void *acceptregex; /* Patterns to accept (a regex struct). */ + void *rejectregex; /* Patterns to reject (a regex struct). */ + enum { +#ifdef HAVE_LIBPCRE + regex_type_pcre, +#endif + regex_type_posix + } regex_type; /* The regex library. */ + void *(*regex_compile_fun)(const char *); /* Function to compile a regex. */ + bool (*regex_match_fun)(const void *, const char *); /* Function to match a string to a regex. */ + char **domains; /* See host.c */ char **exclude_domains; bool dns_cache; /* whether we cache DNS lookups. */ @@ -266,7 +279,7 @@ struct options bool show_all_dns_entries; /* Show all the DNS entries when resolving a name. */ - bool bits_fmt; /*Output bandwidth in bits format*/ + bool report_bps; /*Output bandwidth in bits format*/ }; extern struct options opt;