aboutsummaryrefslogtreecommitdiffstats
path: root/src/perl.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-30 17:57:59 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-30 17:57:59 +0400
commitdd2fbb7a5b7e1c0d844900147486ad7ffd98c1e4 (patch)
treeab8bfcf6c21bd8a47f49b9f9331378e6454e90cf /src/perl.h
parentc72912310c575a5ba7e7e50a5fdd425f3a4e4dbc (diff)
downloadrspamd-dd2fbb7a5b7e1c0d844900147486ad7ffd98c1e4.tar.gz
rspamd-dd2fbb7a5b7e1c0d844900147486ad7ffd98c1e4.zip
* Add message handling functions to lua API
* Add ability to add lua code in config with .lua and .endlua * Add consolidation functions support that are written in perl or lua
Diffstat (limited to 'src/perl.h')
-rw-r--r--src/perl.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/perl.h b/src/perl.h
index af97b6f46..9b1f8af63 100644
--- a/src/perl.h
+++ b/src/perl.h
@@ -5,13 +5,6 @@
#include "config.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;
@@ -27,4 +20,6 @@ int perl_call_chain_filter (const char *function, struct worker_task *task, int
void perl_call_memcached_callback (memcached_ctx_t *ctx, memc_error_t error, void *data);
+double perl_consolidation_func (struct worker_task *task, const char *metric_name, const char *function_name);
+
#endif