aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/lua_common.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2013-10-22 17:04:20 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2013-10-22 17:04:20 +0100
commitb7a0873dac545a79778133152a9b6d9b4e47cc42 (patch)
treed389696b986920f8e8f66df01519f6f6d55a02b5 /src/lua/lua_common.h
parent41e269801406c374a041da0fd0c6b4eff6ba4f3d (diff)
downloadrspamd-b7a0873dac545a79778133152a9b6d9b4e47cc42.tar.gz
rspamd-b7a0873dac545a79778133152a9b6d9b4e47cc42.zip
Replace RCL to UCL from libucl to avoid duplicity in the code.
Diffstat (limited to 'src/lua/lua_common.h')
-rw-r--r--src/lua/lua_common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/lua_common.h b/src/lua/lua_common.h
index c6ba06160..c878a50f3 100644
--- a/src/lua/lua_common.h
+++ b/src/lua/lua_common.h
@@ -6,7 +6,7 @@
#include "main.h"
#include "cfg_file.h"
-#include "rcl/rcl.h"
+#include "ucl.h"
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
@@ -107,14 +107,14 @@ void free_lua_locked (struct lua_locked_state *st);
* @param L lua state
* @param obj object to push
*/
-gint lua_rcl_obj_push (lua_State *L, rspamd_cl_object_t *obj);
+gint lua_rcl_obj_push (lua_State *L, ucl_object_t *obj);
/**
* Extract rcl object from lua object
* @param L
* @return
*/
-rspamd_cl_object_t * lua_rcl_obj_get (lua_State *L, gint idx);
+ucl_object_t * lua_rcl_obj_get (lua_State *L, gint idx);
/**
* Open libraries functions