diff -r 1c78cd19fb6b -r 34f50d0bada4 ucx/map.h --- a/ucx/map.h Fri Oct 05 14:06:40 2012 +0200 +++ b/ucx/map.h Fri Oct 05 16:59:14 2012 +0200 @@ -58,8 +58,9 @@ UcxMap *ucx_map_new(size_t size); void ucx_map_free(UcxMap *map); /* you cannot clone maps with more than 390 mio entries */ +int ucx_map_copy(UcxMap *from, UcxMap *to, copy_func fnc, void *data); UcxMap *ucx_map_clone(UcxMap *map, copy_func fnc, void *data); -UcxMap *ucx_map_rehash(UcxMap *map); +int ucx_map_rehash(UcxMap *map); int ucx_map_put(UcxMap *map, UcxKey key, void *data); void* ucx_map_get(UcxMap *map, UcxKey key);