diff -r 8911170d5e78 -r cecfbb5f8618 ucx/map.h --- a/ucx/map.h Thu Oct 15 11:41:06 2015 +0200 +++ b/ucx/map.h Thu Oct 15 12:37:01 2015 +0200 @@ -154,6 +154,15 @@ void ucx_map_free(UcxMap *map); /** + * Clears a hash map. + * + * Note: the contents are not freed. + * + * @param map the map to be freed + */ +void ucx_map_clear(UcxMap *map); + +/** * Copies contents from a map to another map using a copy function. * * Note: The destination map does not need to be empty. However, if it