aboutsummaryrefslogtreecommitdiffstats
path: root/worker.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2008-06-24 17:50:29 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2008-06-24 17:50:29 +0400
commitbcf147f18f4370d061aff7890873aeed10542663 (patch)
treec869bbbb8a227ab1956d9436a7d93a9bce1a4bc9 /worker.c
parentdaca72b007e666fb9abebcfa7c27ed6ddcadfd58 (diff)
downloadrspamd-bcf147f18f4370d061aff7890873aeed10542663.tar.gz
rspamd-bcf147f18f4370d061aff7890873aeed10542663.zip
* Add initial support of perl filters
Diffstat (limited to 'worker.c')
-rw-r--r--worker.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/worker.c b/worker.c
index e847ff183..0409f5c43 100644
--- a/worker.c
+++ b/worker.c
@@ -15,6 +15,9 @@
#include <fcntl.h>
#include <netdb.h>
+#include <EXTERN.h> /* from the Perl distribution */
+#include <perl.h> /* from the Perl distribution */
+
#include <glib.h>
#include <gmime/gmime.h>
@@ -32,6 +35,8 @@ const f_str_t CRLF = {
/* size */2
};
+extern PerlInterpreter *perl_interpreter;
+
static
void sig_handler (int signo)
{