aboutsummaryrefslogtreecommitdiffstats
path: root/perl.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2008-08-21 17:58:30 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2008-08-21 17:58:30 +0400
commitf3b6712e04fd993caccaa18e425639d85d81b1eb (patch)
treeaaa504a733d1c442692a8e25ad5680657de71942 /perl.h
parente90352d20a0d5f615c906b7719f95599cb2aaeac (diff)
downloadrspamd-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index fc2ae9321..9a37634e3 100644
--- a/perl.h
+++ b/perl.h
@@ -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);