mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 08:20:19 -05:00
The functions added permits to execute the LUA stack execution in HAProxy. It provides all the runtie environment and initialise the main LUA stack.
13 lines
272 B
C
13 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 */
|