summaryrefslogtreecommitdiffstats
path: root/src/perl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl.h')
-rw-r--r--src/perl.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/perl.h b/src/perl.h
new file mode 100644
index 000000000..9a37634e3
--- /dev/null
+++ b/src/perl.h
@@ -0,0 +1,19 @@
+#ifndef RSPAM_PERL_H
+#define RSPAM_PERL_H
+
+#include <sys/types.h>
+#include <glib.h>
+#include "memcached.h"
+
+struct uri;
+struct worker_task;
+
+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 *marks, unsigned int number);
+
+void perl_call_memcached_callback (memcached_ctx_t *ctx, memc_error_t error, void *data);
+
+#endif