haproxy/include/proto/hlua.h
Thierry FOURNIER 380d0930bd MINOR: lua: add runtime execution context
The functions added permits to execute the LUA stack execution in
HAProxy. It provides all the runtie environment and initialise the
main LUA stack.
2015-02-28 23:12:33 +01:00

14 lines
272 B
C

#ifndef _PROTO_HLUA_H
#define _PROTO_HLUA_H
#include <lua.h>
#include <types/hlua.h>
/* Lua HAProxy integration functions. */
int hlua_ctx_init(struct hlua *lua, struct task *task);
void hlua_ctx_destroy(struct hlua *lua);
void hlua_init();
#endif /* _PROTO_HLUA_H */