]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/mempool.h
Merge pull request #16336 from yuwata/ifindex-cleanups
[thirdparty/systemd.git] / src / basic / mempool.h
index 2a41cb358ca8b236324c29fccda356315fdf7f97..0eecca0f92a9062d3cb46bab223b7215c7e71644 100644 (file)
@@ -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