diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-04-08 19:24:36 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-04-08 19:24:36 +0400 |
commit | 01e37900750a8bf7aaf7c52057ea73c4d7c6aa2a (patch) | |
tree | 1eb7dade443d154c4827ffa6a354228340201a34 /src/lua/lua_common.h | |
parent | da502b854015fe2053689249323e1228afd1460b (diff) | |
download | rspamd-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.h | 1 |
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 */ |