summaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-lua.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-05-14 15:08:31 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 15:02:54 +0100
commitc8676f0ef8f2e6eb8a21fd31541bbe7a611c8e45 (patch)
tree27bf59f5c7a3663036e0a364033ebc1b87490aa5 /ctl-lib/ctl-lua.h
parent777f6909df08215bf58d5901cdc155a3b56174c2 (diff)
Format
Change-Id: Ied901f39cd6814e5afd9811248b0a1fb401f3e76 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-lua.h')
-rw-r--r--ctl-lib/ctl-lua.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/ctl-lib/ctl-lua.h b/ctl-lib/ctl-lua.h
index deff9ee..aa03709 100644
--- a/ctl-lib/ctl-lua.h
+++ b/ctl-lib/ctl-lua.h
@@ -48,8 +48,7 @@ extern "C" {
#include "ctl-timer.h"
-PUBLIC int LuaLibInit ();
-
+int LuaLibInit ();
typedef enum {
LUA_DOCALL,
@@ -58,15 +57,14 @@ typedef enum {
} LuaDoActionT;
extern const char *lua_utils;
-PUBLIC int luaLoadScript(const char *luaScriptPath);
-PUBLIC int LuaConfigLoad (AFB_ApiT apiHandle);
-PUBLIC int LuaConfigExec(AFB_ApiT apiHandle, const char * prefix);
-PUBLIC void LuaL2cNewLib(luaL_Reg *l2cFunc, int count, const char *prefix);
-PUBLIC int Lua2cWrapper(void* luaHandle, char *funcname, Lua2cFunctionT callback);
-PUBLIC int LuaCallFunc (CtlSourceT *source, CtlActionT *action, json_object *queryJ) ;
-PUBLIC void ctlapi_lua_docall (afb_req request);
-PUBLIC void ctlapi_lua_dostring (afb_req request);
-PUBLIC void ctlapi_lua_doscript (afb_req request);
+int LuaLoadScript(const char *luaScriptPath);
+int LuaConfigLoad (AFB_ApiT apiHandle);
+void LuaL2cNewLib(luaL_Reg *l2cFunc, int count, const char *prefix);
+int Lua2cWrapper(void* luaHandle, char *funcname, Lua2cFunctionT callback);
+int LuaCallFunc (CtlSourceT *source, CtlActionT *action, json_object *queryJ) ;
+void ctlapi_lua_docall (afb_req request);
+void ctlapi_lua_dostring (afb_req request);
+void ctlapi_lua_doscript (afb_req request);
#ifdef __cplusplus
}