summaryrefslogtreecommitdiff
path: root/src/basic/mempool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/mempool.h')
-rw-r--r--src/basic/mempool.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/basic/mempool.h b/src/basic/mempool.h
index 2a41cb358..0eecca0f9 100644
--- a/src/basic/mempool.h
+++ b/src/basic/mempool.h
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
-
+#include <stdbool.h>
#include <stddef.h>
struct pool;
@@ -23,6 +23,9 @@ static struct mempool pool_name = { \
.at_least = alloc_at_least, \
}
+extern const bool mempool_use_allowed;
+bool mempool_enabled(void);
+
#if VALGRIND
void mempool_drop(struct mempool *mp);
#endif