summaryrefslogtreecommitdiff
path: root/conf/conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'conf/conf.h')
-rw-r--r--conf/conf.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/conf/conf.h b/conf/conf.h
index 6a0a328d..93d1edd7 100644
--- a/conf/conf.h
+++ b/conf/conf.h
@@ -11,9 +11,16 @@
#include "lib/resource.h"
+/* Pools */
+
extern pool *cfg_pool;
extern mempool *cfg_mem;
+#define cfg_alloc(size) mp_alloc(cfg_mem, size)
+#define cfg_allocu(size) mp_allocu(cfg_mem, size)
+#define cfg_allocz(size) mp_allocz(cfg_mem, size)
+char *cfg_strcpy(char *c);
+
/* Lexer */
extern int (*cf_read_hook)(byte *buf, unsigned int max);