summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-04-08 19:24:36 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-04-08 19:24:36 +0400
commit01e37900750a8bf7aaf7c52057ea73c4d7c6aa2a (patch)
tree1eb7dade443d154c4827ffa6a354228340201a34 /src/lua/lua_common.h
parentda502b854015fe2053689249323e1228afd1460b (diff)
downloadrspamd-01e37900750a8bf7aaf7c52057ea73c4d7c6aa2a.tar.gz
rspamd-01e37900750a8bf7aaf7c52057ea73c4d7c6aa2a.zip
* Call lua functions like C functions in expressions
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index 4c8ff2585..dd4e75a8f 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -37,6 +37,7 @@ void init_lua_filters (struct config_file *cfg);
int lua_call_filter (const char *function, struct worker_task *task);
int lua_call_chain_filter (const char *function, struct worker_task *task, int *marks, unsigned int number);
double lua_consolidation_func (struct worker_task *task, const char *metric_name, const char *function_name);
+gboolean lua_call_expression_func (const char *function, struct worker_task *task, GList *args, gboolean *res);
void add_luabuf (const char *line);
/* Classify functions */