summaryrefslogtreecommitdiff
path: root/include/ouroboros/hashtable.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ouroboros/hashtable.h')
-rw-r--r--include/ouroboros/hashtable.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/ouroboros/hashtable.h b/include/ouroboros/hashtable.h
index 81fbcc1a..5e1ff4b1 100644
--- a/include/ouroboros/hashtable.h
+++ b/include/ouroboros/hashtable.h
@@ -34,7 +34,9 @@ struct htable;
struct htable * htable_create(uint64_t buckets,
bool hash_key);
-int htable_destroy(struct htable * table);
+void htable_destroy(struct htable * table);
+
+void htable_flush(struct htable * table);
/* Passes ownership of the block of memory */
int htable_insert(struct htable * table,