aboutsummaryrefslogtreecommitdiffstats
path: root/perl.h
diff options
context:
space:
mode:
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/perl.h b/perl.h
new file mode 100644
index 000000000..6f74cae29
--- /dev/null
+++ b/perl.h
@@ -0,0 +1,15 @@
+#ifndef RSPAM_PERL_H
+#define RSPAM_PERL_H
+
+#include <sys/types.h>
+#include <glib.h>
+
+struct uri;
+
+int call_header_filter (const char *function, const char *header_name, const char *header_value);
+int call_mime_filter (const char *function, GByteArray *content);
+int call_message_filter (const char *function, GByteArray *content);
+int call_url_filter (const char *function, struct uri *uri);
+int call_chain_filter (const char *function, GArray *results);
+
+#endif