diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-01 20:02:31 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-01 20:02:31 +0400 |
commit | 68ddc2c40e474e39496718d54d907314e4c74232 (patch) | |
tree | 19b7a3e086c6f615790e2b403f34af80835c27c9 /src/lua/lua_common.h | |
parent | e38f71e43602a92d9181b6ad1199cb90afe908c4 (diff) | |
download | rspamd-68ddc2c40e474e39496718d54d907314e4c74232.tar.gz rspamd-68ddc2c40e474e39496718d54d907314e4c74232.zip |
* New functionality to lua api:
- config class
- metric class
- textpart class
* Add documentation for lua module
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r-- | src/lua/lua_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h index b72171e99..6c9152417 100644 --- a/src/lua/lua_common.h +++ b/src/lua/lua_common.h @@ -14,9 +14,11 @@ void lua_newclass (lua_State *L, const char *classname, const struct luaL_reg *func); void lua_setclass (lua_State *L, const char *classname, int objidx); +void lua_set_table_index (lua_State *L, const char *index, const char *value); int luaopen_message (lua_State *L); int luaopen_task (lua_State *L); int luaopen_config (lua_State *L); +int luaopen_metric (lua_State *L); void init_lua_filters (struct config_file *cfg); int lua_call_filter (const char *function, struct worker_task *task); |