src/server/public/vfs.h

branch
webdav
changeset 345
5832e10fc59a
parent 286
864e2d701dd4
child 366
47bc686fafe4
--- a/src/server/public/vfs.h	Sun May 08 12:27:43 2022 +0200
+++ b/src/server/public/vfs.h	Sun May 08 18:55:36 2022 +0200
@@ -102,6 +102,7 @@
     void (*close)(SYS_FILE fd);
     int (*opt_aioread)(aiocb_s *aiocb);
     int (*opt_aiowrite)(aiocb_s *aiocb);
+    const char* (*opt_getetag)(SYS_FILE fd);
 };
 
 struct VFS_DIRIO {
@@ -133,6 +134,7 @@
 SYS_FILE vfs_openRW(VFSContext *ctx, const char *path);
 int vfs_stat(VFSContext *ctx, const char *path, struct stat *buf);
 int vfs_fstat(VFSContext *ctx, SYS_FILE fd, struct stat *buf);
+const char * vfs_getetag(SYS_FILE fd);
 void vfs_close(SYS_FILE fd);
 VFS_DIR vfs_opendir(VFSContext *ctx, const char *path);
 VFS_DIR vfs_fdopendir(VFSContext *ctx, SYS_FILE fd);

mercurial