]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/vfs.h
EA VFS: FPCopyFile support
[netatalk.git] / include / atalk / vfs.h
index 60495a14feab6a41fe0a6f876f3464fea541e0a1..dba6b231c8eb5a8824754791d7d7db5c174aeba2 100644 (file)
@@ -58,6 +58,9 @@
 #define VFS_FUNC_ARGS_RENAMEFILE const struct vol *vol, const char *src, const char *dst
 #define VFS_FUNC_VARS_RENAMEFILE vol, src, dst
 
+#define VFS_FUNC_ARGS_COPYFILE const struct vol *vol, const char *src, const char *dst
+#define VFS_FUNC_VARS_COPYFILE vol, src, dst
+
 #define VFS_FUNC_ARGS_ACL const struct vol *vol, const char *path, int cmd, int count, void *aces
 #define VFS_FUNC_VARS_ACL vol, path, cmd, count, aces
 
@@ -96,6 +99,7 @@ struct vfs_ops {
     int (*vfs_setdirowner)   (VFS_FUNC_ARGS_SETDIROWNER);
     int (*vfs_deletefile)    (VFS_FUNC_ARGS_DELETEFILE);
     int (*vfs_renamefile)    (VFS_FUNC_ARGS_RENAMEFILE);
+    int (*vfs_copyfile)      (VFS_FUNC_ARGS_COPYFILE);
 
     /* ACLs */
     int (*vfs_acl)           (VFS_FUNC_ARGS_ACL);