dav/db.h

changeset 550
8c700eae3eb8
parent 541
e59a989d890d
child 552
e1a12762bf0a
equal deleted inserted replaced
549:af91d3c96994 550:8c700eae3eb8
78 DavBool xattr_updated; 78 DavBool xattr_updated;
79 DavBool metadata_updated; 79 DavBool metadata_updated;
80 80
81 DavBool keep; 81 DavBool keep;
82 DavBool restore; 82 DavBool restore;
83
84 DavBool isnew;
85 char *origin;
83 }; 86 };
84 87
85 struct FilePart { 88 struct FilePart {
86 uint64_t block; 89 uint64_t block;
87 char *hash; 90 char *hash;
99 102
100 void local_resource_free(LocalResource *res); 103 void local_resource_free(LocalResource *res);
101 104
102 void filepart_free(FilePart *part); 105 void filepart_free(FilePart *part);
103 106
107 UcxMap* create_hash_index(SyncDatabase *db);
108
104 LocalResource* process_resource(xmlTextReaderPtr reader); 109 LocalResource* process_resource(xmlTextReaderPtr reader);
105 LocalResource* process_conflict(xmlTextReaderPtr reader); 110 LocalResource* process_conflict(xmlTextReaderPtr reader);
106 111
107 112
108 #ifdef __cplusplus 113 #ifdef __cplusplus

mercurial