summaryrefslogtreecommitdiff
path: root/src/path.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/path.h b/src/path.h
index 5fc08a0..dbaa585 100644
--- a/src/path.h
+++ b/src/path.h
@@ -62,6 +62,9 @@ bool chunk_pool_is_filled(struct chunk_pool *cp);
/* return number of chunks in the pool */
size_t chunk_pool_size(struct chunk_pool *cp);
+/* return true if chunk pool is empty (all chunks are already poped) */
+bool chunk_pool_is_empty(struct chunk_pool *cp);
+
/* free chunks in the chunk_pool */
void chunk_pool_release(struct chunk_pool *cp);