diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-08-21 17:58:30 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2008-08-21 17:58:30 +0400 |
commit | f3b6712e04fd993caccaa18e425639d85d81b1eb (patch) | |
tree | aaa504a733d1c442692a8e25ad5680657de71942 /perl.h | |
parent | e90352d20a0d5f615c906b7719f95599cb2aaeac (diff) | |
download | rspamd-f3b6712e04fd993caccaa18e425639d85d81b1eb.tar.gz rspamd-f3b6712e04fd993caccaa18e425639d85d81b1eb.zip |
* Add filters logic
* Perl should use separate memcached context for its operations (just do memcpy with the same socket)
TODO: add block mechanics here to avoid memcached connection closing before perl operation is finished
* Change logic of perl chain filter
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ int perl_call_header_filter (const char *function, struct worker_task *task); int perl_call_mime_filter (const char *function, struct worker_task *task); int perl_call_message_filter (const char *function, struct worker_task *task); int perl_call_url_filter (const char *function, struct worker_task *task); -int perl_call_chain_filter (const char *function, struct worker_task *task); +int perl_call_chain_filter (const char *function, struct worker_task *task, int *marks, unsigned int number); void perl_call_memcached_callback (memcached_ctx_t *ctx, memc_error_t error, void *data); |