diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-08-20 17:09:13 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-08-20 17:09:13 +0400 |
commit | e90352d20a0d5f615c906b7719f95599cb2aaeac (patch) | |
tree | 61c2a5a7efc21fb03b4ba9a9779af8e76e641702 /main.h | |
parent | 86fd197a95f72d09e5cccbc059829ff5f6b03b87 (diff) | |
download | rspamd-e90352d20a0d5f615c906b7719f95599cb2aaeac.tar.gz rspamd-e90352d20a0d5f615c906b7719f95599cb2aaeac.zip |
* Rewrite perl module for new XS, now perl filters got only object of rspamd module that provides access to every part of message
* Add memcached access api for perl
* Reorganize Makefile, add .PHONY targets
* Fix memcached module as now we cannot write or read several keys in async mode
Diffstat (limited to 'main.h')
-rw-r--r-- | main.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -21,6 +21,7 @@ #include "fstring.h" #include "url.h" +#include "memcached.h" #include <glib.h> #include <gmime/gmime.h> @@ -100,6 +101,9 @@ struct worker_task { struct in_addr from_addr; f_str_buf_t *msg; struct bufferevent *bev; + /* Memcached connection for this task */ + memcached_ctx_t *memc_ctx; + unsigned memc_busy:1; /* Number of mime parts */ int parts_count; /* Headers */ |