aboutsummaryrefslogtreecommitdiffstats
path: root/perl.h
diff options
context:
space:
mode:
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/perl.h b/perl.h
index 3a659bbe1..fc2ae9321 100644
--- a/perl.h
+++ b/perl.h
@@ -3,13 +3,17 @@
#include <sys/types.h>
#include <glib.h>
+#include "memcached.h"
struct uri;
+struct worker_task;
-int perl_call_header_filter (const char *function, const char *header_name, const char *header_value);
-int perl_call_mime_filter (const char *function, GByteArray *content);
-int perl_call_message_filter (const char *function, GByteArray *content);
-int perl_call_url_filter (const char *function, struct uri *uri);
-int perl_call_chain_filter (const char *function, GArray *results);
+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);
+
+void perl_call_memcached_callback (memcached_ctx_t *ctx, memc_error_t error, void *data);
#endif