mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 15:47:01 +02:00
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.
15 lines
294 B
C
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 */
|