aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-05 14:44:08 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-05 14:44:08 +0000
commite5849e1339fa467c8f411643f509a3ae9ebb33c6 (patch)
tree350990b976aff5b0f5c77b349119bd28b942b400 /src/lua/lua_common.h
parente242903967917614509a7eca05c4d6d9988f4a83 (diff)
downloadrspamd-e5849e1339fa467c8f411643f509a3ae9ebb33c6.tar.gz
rspamd-e5849e1339fa467c8f411643f509a3ae9ebb33c6.zip
[Feature] Rework and abstract lua maps API
- Now all maps share the same lua object table. - Remove bad destructions code since objects are reallocated during maps operations - Fix and unify various parts of maps management - Pass map object to lua callbacks
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index b18b494a3..8629d6366 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -196,8 +196,7 @@ void rspamd_lua_add_preload (lua_State *L, const gchar *name, lua_CFunction func
void luaopen_task (lua_State *L);
void luaopen_config (lua_State *L);
void luaopen_metric (lua_State *L);
-void luaopen_radix (lua_State *L);
-void luaopen_hash_table (lua_State *L);
+void luaopen_map (lua_State *L);
void luaopen_trie (lua_State * L);
void luaopen_textpart (lua_State *L);
void luaopen_mimepart (lua_State *L);