Mercurial > dnsbl
diff src/context.h @ 74:b7449114ebb0
start coding on new config syntax
author | carl |
---|---|
date | Sun, 10 Jul 2005 14:19:00 -0700 |
parents | 2b369f7db7bf |
children | 1142e46be550 |
line wrap: on
line diff
--- a/src/context.h Sun Jul 10 13:28:33 2005 -0700 +++ b/src/context.h Sun Jul 10 14:19:00 2005 -0700 @@ -100,7 +100,7 @@ dnsblp_list& get_dnsbl_list() {return dnsbl_list;}; bool get_content_filtering() {return content_filtering;}; - bool acceptable_content(recorder &memory); + bool acceptable_content(recorder &memory, char *&msg); bool ignore_host(char *host); void dump(int level = 0); @@ -166,7 +166,7 @@ extern string_set all_strings; // owns all the strings, only modified by the config loader thread -static void discard(string_set &s); +void discard(string_set &s); char* register_string(string_set &s, char *name); char* register_string(char *name); CONFIG *parse_config(char *fn);