haproxy/include/proto/hlua.h
Thierry FOURNIER a4a0f3d7c8 MINOR: lua: post initialisation bindings
This system permits to execute some lua function after than HAProxy
complete his initialisation. These functions are executed between
the end of the configuration parsing and check and the begin of the
scheduler.
2015-02-28 23:12:34 +01:00

15 lines
294 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();
int hlua_post_init();
#endif /* _PROTO_HLUA_H */