summaryrefslogtreecommitdiff
path: root/src/ucl_hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ucl_hash.h')
-rw-r--r--src/ucl_hash.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ucl_hash.h b/src/ucl_hash.h
index cbbf005240bd0..ddbfdba19ce84 100644
--- a/src/ucl_hash.h
+++ b/src/ucl_hash.h
@@ -66,6 +66,12 @@ void ucl_hash_insert (ucl_hash_t* hashlin, const ucl_object_t *obj, const char *
unsigned keylen);
/**
+ * Replace element in the hash
+ */
+void ucl_hash_replace (ucl_hash_t* hashlin, const ucl_object_t *old,
+ const ucl_object_t *new);
+
+/**
* Delete an element from the the hashtable.
*/
void ucl_hash_delete (ucl_hash_t* hashlin, const ucl_object_t *obj);