diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-16 18:37:50 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-12-16 18:37:50 +0300 |
commit | 4b1dbdccc7067ff71565b48c1e9722c152a83a4a (patch) | |
tree | fb132da61adc0b98e725a17ecd266a5cfb6da14d /src/kvstorage.h | |
parent | b272d240f712e15a93478db124cbf4bd8f7496af (diff) | |
download | rspamd-4b1dbdccc7067ff71565b48c1e9722c152a83a4a.tar.gz rspamd-4b1dbdccc7067ff71565b48c1e9722c152a83a4a.zip |
Add expire and whitelist options to ip_score plugin.
Some fixes to expiration of keys (still need to be reworked however).
Diffstat (limited to 'src/kvstorage.h')
-rw-r--r-- | src/kvstorage.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kvstorage.h b/src/kvstorage.h index 67be01fcf..d32db2ee4 100644 --- a/src/kvstorage.h +++ b/src/kvstorage.h @@ -73,7 +73,8 @@ enum rspamd_kv_flags { KV_ELT_OUSTED = 1 << 3, KV_ELT_NEED_FREE = 1 << 4, KV_ELT_INTEGER = 1 << 5, - KV_ELT_NEED_INSERT = 1 << 6 + KV_ELT_NEED_INSERT = 1 << 6, + KV_ELT_NEED_EXPIRE = 1 << 7 }; #define ELT_DATA(elt) (gchar *)(elt)->data + (elt)->keylen + 1 |