src/server/public/webdav.h

branch
webdav
changeset 222
5f05e56cb8e2
parent 217
8ed14d76db42
child 223
bbaec8415c10
equal deleted inserted replaced
221:ff5826fc6a6c 222:5f05e56cb8e2
96 }; 96 };
97 97
98 struct WebdavProperty { 98 struct WebdavProperty {
99 WSNamespace *namespace; 99 WSNamespace *namespace;
100 100
101 WebdavNSList *nsdef;
102
101 const char *name; 103 const char *name;
102 104
103 char *lang; 105 char *lang;
104 106
105 union { 107 union {
121 WebdavPList *prev; 123 WebdavPList *prev;
122 WebdavPList *next; 124 WebdavPList *next;
123 }; 125 };
124 126
125 struct WebdavNSList { 127 struct WebdavNSList {
126 WSNamespace *namespace; 128 WSNamespace *namespace;
127 WebdavNSList *prev; 129 WebdavNSList *prev;
128 WebdavNSList *next; 130 WebdavNSList *next;
129 }; 131 };
130 132
131 struct WebdavPListIterator { 133 struct WebdavPListIterator {
303 WebdavProperty* webdav_dav_property( 305 WebdavProperty* webdav_dav_property(
304 pool_handle_t *pool, 306 pool_handle_t *pool,
305 const char *name); 307 const char *name);
306 308
307 int webdav_property_set_value( 309 int webdav_property_set_value(
308 WebdavProperty *p, 310 WebdavProperty *property,
309 pool_handle_t *pool, 311 pool_handle_t *pool,
310 char *value); 312 char *value);
313
314 int webdav_property_add_nsdef(
315 WebdavProperty *p,
316 pool_handle_t *pool,
317 const char *prefix,
318 const char *nsuri);
311 319
312 WebdavVFSProperties webdav_vfs_properties( 320 WebdavVFSProperties webdav_vfs_properties(
313 WebdavPropfindRequest *rq, 321 WebdavPropfindRequest *rq,
314 WSBool removefromlist, 322 WSBool removefromlist,
315 uint32_t flags); 323 uint32_t flags);

mercurial