dav/db.h

changeset 747
efbd59642577
parent 692
56b66fe2b4f5
--- a/dav/db.h	Sun Apr 16 14:12:24 2023 +0200
+++ b/dav/db.h	Fri Apr 21 21:25:32 2023 +0200
@@ -31,8 +31,9 @@
 
 #include <inttypes.h>
 #include <libidav/webdav.h>
-#include <ucx/map.h>
-#include <ucx/buffer.h>
+#include <cx/hash_map.h>
+#include <cx/linked_list.h>
+#include <cx/buffer.h>
 #include <time.h>
 
 #include <libxml/xmlreader.h>
@@ -62,7 +63,7 @@
     off_t   size;
     DavBool isdirectory;
     DavBool skipped;
-    UcxBuffer *cached_tags;
+    CxBuffer *cached_tags;
     XAttributes *xattr;
     char *tags_hash;
     char *xattr_hash;
@@ -103,8 +104,8 @@
 };
 
 struct SyncDatabase {
-    UcxMap *resources;
-    UcxMap *conflict;
+    CxMap *resources;
+    CxMap *conflict;
 };
 
 SyncDatabase* load_db(char *name);
@@ -119,7 +120,7 @@
 
 void filepart_free(FilePart *part);
 
-UcxMap* create_hash_index(SyncDatabase *db);
+CxMap* create_hash_index(SyncDatabase *db);
 
 LocalResource* process_resource(xmlTextReaderPtr reader);
 LocalResource* process_conflict(xmlTextReaderPtr reader);

mercurial