summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ouroboros/bitmap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ouroboros/bitmap.h b/include/ouroboros/bitmap.h
index cb62312a..d6bb250b 100644
--- a/include/ouroboros/bitmap.h
+++ b/include/ouroboros/bitmap.h
@@ -33,7 +33,7 @@ struct bmp;
struct bmp * bmp_create(size_t bits,
ssize_t offset);
-int bmp_destroy(struct bmp * b);
+void bmp_destroy(struct bmp * b);
ssize_t bmp_allocate(struct bmp * instance);
@@ -43,4 +43,7 @@ int bmp_release(struct bmp * instance,
bool bmp_is_id_valid(struct bmp * b,
ssize_t id);
+bool bmp_is_id_used(struct bmp * b,
+ ssize_t id);
+
#endif /* OUROBOROS_BITMAP_H */