diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-02 19:18:43 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-02 19:18:43 +0300 |
commit | f972cde13ca98f6ed992a288826467abf04c888a (patch) | |
tree | 6569ef0e15b85f4e23aac48c99c5fcc97d679a07 /src/plugins/surbl.h | |
parent | 186f9ab430c1f20efb595da504570fd0b575836a (diff) | |
download | rspamd-f972cde13ca98f6ed992a288826467abf04c888a.tar.gz rspamd-f972cde13ca98f6ed992a288826467abf04c888a.zip |
* Add ability to check bits from surbl replies
Diffstat (limited to 'src/plugins/surbl.h')
-rw-r--r-- | src/plugins/surbl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/surbl.h b/src/plugins/surbl.h index 196f4517c..21d77c25b 100644 --- a/src/plugins/surbl.h +++ b/src/plugins/surbl.h @@ -30,7 +30,7 @@ struct surbl_ctx { unsigned int max_urls; unsigned int url_expire; GList *suffixes; - char *symbol; + GList *bits; char *metric; GHashTable *hosters; GHashTable *whitelist; @@ -66,4 +66,9 @@ struct memcached_param { memcached_ctx_t *ctx; }; +struct surbl_bit_item { + uint32_t bit; + const char *symbol; +}; + #endif |