Mercurial > dnsbl
diff src/context.h @ 117:aa07452e641b
uribl patch from Jeff Evans <jeffe@tricab.com>
author | carl |
---|---|
date | Sun, 12 Mar 2006 10:15:39 -0800 |
parents | f8963ddf7143 |
children | d9d2f8699621 |
line wrap: on
line diff
--- a/src/context.h Sun Jan 08 10:27:24 2006 -0800 +++ b/src/context.h Sun Mar 12 10:15:39 2006 -0800 @@ -100,6 +100,7 @@ char * content_message; // "" string_set content_host_ignore;// hosts to ignore for content sbl checking string_set content_tlds; // + string_set content_cctlds; // string_set html_tags; // set of valid html tags int host_limit; // limit on host names char * host_limit_message; // error message for excessive host names @@ -136,6 +137,7 @@ void set_content_message(char *message) {content_message = message;}; void add_ignore(char *host) {content_host_ignore.insert(host);}; void add_tld(char *tld) {content_tlds.insert(tld);}; + void add_cctld(char *cctld) {content_cctlds.insert(cctld);}; void set_host_limit(int limit) {host_limit = limit;}; void set_host_message(char *message) {host_limit_message = message;}; @@ -155,6 +157,7 @@ char* get_content_message(); string_set& get_content_host_ignore(); string_set& get_content_tlds(); + string_set& get_content_cctlds(); string_set& get_html_tags(); dnsblp_list& get_dnsbl_list(); @@ -186,6 +189,7 @@ }; extern char *token_black; +extern char *token_cctld; extern char *token_content; extern char *token_context; extern char *token_dccfrom; @@ -206,8 +210,8 @@ extern char *token_mailhost; extern char *token_many; extern char *token_off; +extern char *token_ok2; extern char *token_ok; -extern char *token_ok2; extern char *token_on; extern char *token_rbrace; extern char *token_semi;