aboutsummaryrefslogtreecommitdiffstats
path: root/src/perl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/perl.h')
-rw-r--r--src/perl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/perl.h b/src/perl.h
index 9a37634e3..7aabe1895 100644
--- a/src/perl.h
+++ b/src/perl.h
@@ -5,8 +5,19 @@
#include <glib.h>
#include "memcached.h"
+#include <EXTERN.h> /* from the Perl distribution */
+#include <perl.h> /* from the Perl distribution */
+
+#ifndef PERL_IMPLICIT_CONTEXT
+#undef dTHXa
+#define dTHXa(a)
+#endif
+
struct uri;
struct worker_task;
+struct config_file;
+
+void init_perl_filters (struct config_file *cfg);
int perl_call_header_filter (const char *function, struct worker_task *task);
int perl_call_mime_filter (const char *function, struct worker_task *task);