diff options
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r-- | source3/include/vfs.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h index a0eca7730f9..f54d9ea93b2 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -220,6 +220,8 @@ to const struct smb_filename * */ /* Version 37 - Change get_quota from const char * to const struct smb_filename * */ +/* Version 37 - Change link from const char * + to const struct smb_filename * */ #define SMB_VFS_INTERFACE_VERSION 37 @@ -739,7 +741,9 @@ struct vfs_fn_pointers { bool (*getlock_fn)(struct vfs_handle_struct *handle, struct files_struct *fsp, off_t *poffset, off_t *pcount, int *ptype, pid_t *ppid); int (*symlink_fn)(struct vfs_handle_struct *handle, const char *oldpath, const char *newpath); int (*readlink_fn)(struct vfs_handle_struct *handle, const char *path, char *buf, size_t bufsiz); - int (*link_fn)(struct vfs_handle_struct *handle, const char *oldpath, const char *newpath); + int (*link_fn)(struct vfs_handle_struct *handle, + const struct smb_filename *old_smb_fname, + const struct smb_filename *new_smb_fname); int (*mknod_fn)(struct vfs_handle_struct *handle, const struct smb_filename *smb_fname, mode_t mode, @@ -1241,8 +1245,9 @@ int smb_vfs_call_symlink(struct vfs_handle_struct *handle, const char *oldpath, const char *newpath); int smb_vfs_call_readlink(struct vfs_handle_struct *handle, const char *path, char *buf, size_t bufsiz); -int smb_vfs_call_link(struct vfs_handle_struct *handle, const char *oldpath, - const char *newpath); +int smb_vfs_call_link(struct vfs_handle_struct *handle, + const struct smb_filename *old_smb_fname, + const struct smb_filename *new_smb_fname); int smb_vfs_call_mknod(struct vfs_handle_struct *handle, const struct smb_filename *smb_fname, mode_t mode, |