diff options
author | James Peach <jpeach@samba.org> | 2007-03-08 01:40:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:28 -0500 |
commit | 16cb22d6b83c502dec1b297c544c05d89714b3d6 (patch) | |
tree | 0177241777d0c1b2c67b01f13722a02fb509881d /source/include/vfs.h | |
parent | 698159c0ee8d9adb3b56231c0c8ad2ddebd5be11 (diff) | |
download | samba-16cb22d6b83c502dec1b297c544c05d89714b3d6.tar.gz samba-16cb22d6b83c502dec1b297c544c05d89714b3d6.tar.xz samba-16cb22d6b83c502dec1b297c544c05d89714b3d6.zip |
r21757: Add SMB_VFS_CHFLAGS operation.
Diffstat (limited to 'source/include/vfs.h')
-rw-r--r-- | source/include/vfs.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/include/vfs.h b/source/include/vfs.h index 7bcd6cdf2c4..5e7048bb54c 100644 --- a/source/include/vfs.h +++ b/source/include/vfs.h @@ -69,7 +69,8 @@ Also included linux setlease call - jmcd */ /* Changed to version 20, use ntimes call instead of utime (greater * timestamp resolition. JRA. */ -#define SMB_VFS_INTERFACE_VERSION 20 +/* Changed to version21 to add chflags operation -- jpeach */ +#define SMB_VFS_INTERFACE_VERSION 21 /* to bug old modules which are trying to compile with the old functions */ @@ -158,6 +159,7 @@ typedef enum _vfs_op_type { SMB_VFS_OP_MKNOD, SMB_VFS_OP_REALPATH, SMB_VFS_OP_NOTIFY_WATCH, + SMB_VFS_OP_CHFLAGS, /* NT ACL operations. */ @@ -289,6 +291,7 @@ struct vfs_ops { void *private_data, struct notify_event *ev), void *private_data, void *handle_p); + int (*chflags)(struct vfs_handle_struct *handle, const char *path, uint flags); /* NT ACL operations. */ @@ -406,6 +409,7 @@ struct vfs_ops { struct vfs_handle_struct *mknod; struct vfs_handle_struct *realpath; struct vfs_handle_struct *notify_watch; + struct vfs_handle_struct *chflags; /* NT ACL operations. */ |