aboutsummaryrefslogtreecommitdiff
path: root/src/ucl_hash.h
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-11-29 00:33:10 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-11-29 00:33:10 +0000
commit1eea90048f8f0e6360171d254c1f60f41a090814 (patch)
tree4aae5869b82bf4066989c1dce79dc9f06fa9526b /src/ucl_hash.h
parent8f2b0cccb4a7a7fe296db2f59cb6cdbfbec9291b (diff)
downloadsrc-1eea90048f8f0e6360171d254c1f60f41a090814.tar.gz
src-1eea90048f8f0e6360171d254c1f60f41a090814.zip
Update libucl to latest versionvendor/libucl/20141129
Notes
Notes: svn path=/vendor/libucl/dist/; revision=275221 svn path=/vendor/libucl/20141129/; revision=275222; tag=vendor/libucl/20141129
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 cbbf005240bd..ddbfdba19ce8 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);