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,
diff --git a/include/types/log.h b/include/types/log.h
index c680663..345a09f 100644
--- a/include/types/log.h
+++ b/include/types/log.h
@@ -33,6 +33,8 @@
#define SYSLOG_PORT 514
#define UNIQUEID_LEN 128
+/* The array containing the names of the log levels. */
+extern const char *log_levels[];
/* lists of fields that can be logged */
enum {