X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Foptions.h;h=0da793798daf1369b7c55da7c83edb94450ed062;hp=1f429906dcdc8378653f3b6de262d6c0753484a7;hb=f5a10978710a3e9907fbef31b7df9f414acccb16;hpb=0aa3c5d33c5faa8902fa638c36314deae45460f3 diff --git a/src/options.h b/src/options.h index 1f429906..0da79379 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. */