# HG changeset patch # User Olaf Wintermann # Date 1760468546 -7200 # Node ID 26541c37b61935c914ba5fb6bf7599e820302a22 # Parent da79af4baec8de924695afb6382b382cfc80c476 add TODOs for using modern ucx features diff -r da79af4baec8 -r 26541c37b619 dav/sync.c --- a/dav/sync.c Tue Sep 09 20:56:47 2025 +0200 +++ b/dav/sync.c Tue Oct 14 21:02:26 2025 +0200 @@ -203,17 +203,18 @@ } - +// TODO: remove, ucx supports creating iterators for NULL maps static CxMapIterator mapIteratorValues(CxMap *map) { return cxMapIteratorValues(map ? map : cxEmptyMap); } - +// TODO: remove static CxIterator listIterator(CxList *list) { return cxListIterator(list ? list : cxEmptyList); } typedef void*(*clonefunc)(void *elm, void *userdata); +// TODO: remove when ucx has a clone func static CxMap* mapClone(const CxAllocator *a, CxMap *map, clonefunc clone, void *userdata) { CxMap *newmap = cxHashMapCreate( a,