aboutsummaryrefslogtreecommitdiff
path: root/src/hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/hash.h b/src/hash.h
index 9ea3627..5a8b965 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -102,3 +102,12 @@ void *hash_dup(void*);
/* sets the callback for when duplicating a data node */
void hash_setdupdata_cb(void*, void *(*cb)(void*));
+
+struct hash_export_node {
+ unsigned hash;
+ void *last, *node, *next;
+};
+
+struct hash_export_node hash_get_internal_node(void *ptr, const void *key);
+
+void hash_del_internal_node(void *ptr, const struct hash_export_node *node);