src/server/public/webdav.h

branch
webdav
changeset 227
3c23855f7b46
parent 225
e4f3e1433098
child 230
ca50e1ebdc4d
equal deleted inserted replaced
226:49adcbd7d473 227:3c23855f7b46
98 }; 98 };
99 99
100 struct WebdavProperty { 100 struct WebdavProperty {
101 WSNamespace *namespace; 101 WSNamespace *namespace;
102 102
103 WebdavNSList *nsdef;
104
105 const char *name; 103 const char *name;
106 104
107 char *lang; 105 char *lang;
108 106
109 union { 107 union {
293 * in case of infinity, -1 is returned 291 * in case of infinity, -1 is returned
294 * if no depth is specified, 0 is returned 292 * if no depth is specified, 0 is returned
295 */ 293 */
296 int webdav_getdepth(Request *rq); 294 int webdav_getdepth(Request *rq);
297 295
296 int webdav_plist_add(
297 pool_handle_t *pool,
298 WebdavPList **begin,
299 WebdavPList **end,
300 WebdavProperty *prop);
301
298 WebdavPList* webdav_plist_clone(pool_handle_t *pool, WebdavPList *list); 302 WebdavPList* webdav_plist_clone(pool_handle_t *pool, WebdavPList *list);
299 303
300 size_t webdav_plist_size(WebdavPList *list); 304 size_t webdav_plist_size(WebdavPList *list);
301 305
302 WebdavPListIterator webdav_plist_iterator(WebdavPList **list); 306 WebdavPListIterator webdav_plist_iterator(WebdavPList **list);
310 314
311 int webdav_property_set_value( 315 int webdav_property_set_value(
312 WebdavProperty *property, 316 WebdavProperty *property,
313 pool_handle_t *pool, 317 pool_handle_t *pool,
314 char *value); 318 char *value);
315
316 int webdav_property_add_nsdef(
317 WebdavProperty *p,
318 pool_handle_t *pool,
319 const char *prefix,
320 const char *nsuri);
321 319
322 WebdavVFSProperties webdav_vfs_properties( 320 WebdavVFSProperties webdav_vfs_properties(
323 WebdavPropfindRequest *rq, 321 WebdavPropfindRequest *rq,
324 WSBool removefromlist, 322 WSBool removefromlist,
325 uint32_t flags); 323 uint32_t flags);

mercurial