From dd2fbb7a5b7e1c0d844900147486ad7ffd98c1e4 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov <vsevolod@rambler-co.ru> Date: Mon, 30 Mar 2009 17:57:59 +0400 Subject: * 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 --- src/perl.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/perl.h') 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 -- cgit v1.2.3