Go to the documentation of this file.
24 #ifndef SURICATA_UTIL_LUA_COMMON_H
25 #define SURICATA_UTIL_LUA_COMMON_H
struct lua_State lua_State
void LuaPushTableKeyValueInt(lua_State *luastate, const char *key, int value)
const char * LuaGetStringArgument(lua_State *luastate, int argc)
void LuaPushTableKeyValueString(lua_State *luastate, const char *key, const char *value)
Push a key plus string value to the stack.
void LuaPushTableKeyValueArray(lua_State *luastate, const char *key, const uint8_t *value, size_t len)
int LuaStateNeedProto(lua_State *luastate, AppProto alproto)
int LuaCallbackError(lua_State *luastate, const char *msg)
int LuaRegisterFunctions(lua_State *luastate)