diff -r 26a1d5b9d9d2 -r e3c0440bd599 dav/sync.h --- a/dav/sync.h Sun Mar 17 15:00:48 2019 +0100 +++ b/dav/sync.h Sun Mar 17 18:11:31 2019 +0100 @@ -99,6 +99,7 @@ SyncDirectory *dir, SyncDatabase *db); +void sync_set_metadata_from_stat(LocalResource *local, struct stat *s); int sync_get_resource( CmdArgs *a, SyncDirectory *dir, @@ -135,6 +136,8 @@ UcxBuffer* sync_get_file_tag_data(SyncDirectory *dir, LocalResource *res); UcxList* sync_get_file_tags(SyncDirectory *dir, LocalResource *res, DavBool *changed, char **newhash); int sync_tags_equal(UcxList *tags1, UcxList *tags2); +int sync_store_metadata(SyncDirectory *dir, const char *path, LocalResource *local, DavResource *res); +int sync_store_xattr(SyncDirectory *dir, const char *path, XAttributes *xattr); int sync_store_tags(SyncDirectory *dir, const char *path, LocalResource *local, DavResource *res); int sync_store_tags_local(SyncDirectory *dir, LocalResource *local, const char *path, UcxList *tags); int sync_put_resource(