Thierry FOURNIER | 6f1fd48 | 2015-01-23 14:06:13 +0100 | [diff] [blame] | 1 | #ifndef _PROTO_HLUA_H |
| 2 | #define _PROTO_HLUA_H |
| 3 | |
| 4 | #include <lua.h> |
| 5 | |
| 6 | #include <types/hlua.h> |
| 7 | |
| 8 | /* Lua HAProxy integration functions. */ |
Thierry FOURNIER | 380d093 | 2015-01-23 14:27:52 +0100 | [diff] [blame] | 9 | int hlua_ctx_init(struct hlua *lua, struct task *task); |
| 10 | void hlua_ctx_destroy(struct hlua *lua); |
Thierry FOURNIER | 6f1fd48 | 2015-01-23 14:06:13 +0100 | [diff] [blame] | 11 | void hlua_init(); |
Thierry FOURNIER | a4a0f3d | 2015-01-23 12:08:30 +0100 | [diff] [blame^] | 12 | int hlua_post_init(); |
Thierry FOURNIER | 6f1fd48 | 2015-01-23 14:06:13 +0100 | [diff] [blame] | 13 | |
| 14 | #endif /* _PROTO_HLUA_H */ |