commit | 2ba18a2aa6483a03534fdfa3d68fac023165edca | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <tfournier@haproxy.com> | Fri Jan 23 14:07:08 2015 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Feb 28 23:12:34 2015 +0100 |
tree | 451b3e3a2647eb07384ff9f0dfcd2c05a27a3fa7 | |
parent | 6c9b52cbc28a861c36528c2bafa41887962fdfd3 [diff] [blame] |
MINOR: lua: core: create "core" class and object This object provides main HAProxy functions. This first version creates an empty object. It will be enhanced later.
diff --git a/include/types/hlua.h b/include/types/hlua.h index cfeb767..b2c3997 100644 --- a/include/types/hlua.h +++ b/include/types/hlua.h
@@ -3,6 +3,8 @@ #include <lua.h> +#define CLASS_CORE "Core" + enum hlua_state { HLUA_STOP = 0, HLUA_RUN,