318 WebdavResource *, |
318 WebdavResource *, |
319 VFSFile *, |
319 VFSFile *, |
320 WSBool); |
320 WSBool); |
321 |
321 |
322 /* |
322 /* |
|
323 * int opt_mkcol( |
|
324 * Session *sn, |
|
325 * Request *rq, |
|
326 * const char *path, |
|
327 * WSBool *out_created |
|
328 * |
|
329 * Optional mkcol callback that is called before vfs_mkdir. If the function |
|
330 * sets out_created to TRUE, vfs_mkdir will not be executed. |
|
331 */ |
|
332 int (*opt_mkcol)( |
|
333 Session *, |
|
334 Request *, |
|
335 const char *, |
|
336 WSBool *); |
|
337 |
|
338 /* |
|
339 * int opt_delete( |
|
340 * Session *sn, |
|
341 * Request *rq, |
|
342 * const char *path, |
|
343 * WSBool *out_deleted |
|
344 * |
|
345 * Optional delete callback that is called once before any VFS deletions. |
|
346 * When the callback sets out_deleted to TRUE, no VFS unlink operations |
|
347 * will be done. |
|
348 * |
|
349 */ |
|
350 int (*opt_delete)( |
|
351 Session *, |
|
352 Request *, |
|
353 const char *, |
|
354 WSBool *); |
|
355 |
|
356 /* |
323 * See the WS_WEBDAV_* macros for informations about the settings |
357 * See the WS_WEBDAV_* macros for informations about the settings |
324 */ |
358 */ |
325 uint32_t settings; |
359 uint32_t settings; |
326 |
360 |
327 |
361 |