summaryrefslogtreecommitdiff
path: root/include/mempool.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mempool.h')
-rw-r--r--include/mempool.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/include/mempool.h b/include/mempool.h
deleted file mode 100644
index c946c31..0000000
--- a/include/mempool.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/* SPDX-License-Identifier: LGPL-3.0-or-later */
-/*
- * mempool.h
- *
- * Copyright (C) 2021 David Oberhollenzer <goliath@infraroot.at>
- */
-#ifndef MEMPOOL_H
-#define MEMPOOL_H
-
-#include "compat.h"
-#include "sqfs/predef.h"
-
-typedef struct mem_pool_t mem_pool_t;
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-SQFS_INTERNAL mem_pool_t *mem_pool_create(size_t obj_size);
-
-SQFS_INTERNAL void mem_pool_destroy(mem_pool_t *mem);
-
-SQFS_INTERNAL void *mem_pool_allocate(mem_pool_t *mem);
-
-SQFS_INTERNAL void mem_pool_free(mem_pool_t *mem, void *ptr);
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* MEMPOOL_H */