diff options
author | Jeremy Allison <jra@samba.org> | 2000-09-27 19:09:59 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-09-27 19:09:59 +0000 |
commit | b43b2e4f8a4be30e3f7aca6f570f5376fd508e3d (patch) | |
tree | 3c604a52b53f0a846fe62b5995becda7facda187 /source3/include/vfs.h | |
parent | 8c93ddf3e0ea80d482cbee7bf233c32fc69955bb (diff) | |
download | samba-b43b2e4f8a4be30e3f7aca6f570f5376fd508e3d.tar.gz samba-b43b2e4f8a4be30e3f7aca6f570f5376fd508e3d.tar.bz2 samba-b43b2e4f8a4be30e3f7aca6f570f5376fd508e3d.zip |
Restructuring of the code to remove dos_ChDir/dos_GetWd and re-vector them
through the VFS. All file access/directory access code in smbd should now
go via the vfs. Added vfs_chown/vfs_chmod calls. Still looking at vfs_get_nt_acl()
vfs_set_nt_acl() call API design.
Jeremy.
(This used to be commit f96625ec124adb6e110dc54632e006b3620a962b)
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r-- | source3/include/vfs.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 1312935e7f..e657354d94 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -184,9 +184,16 @@ struct vfs_ops { int (*lstat)(char *path, SMB_STRUCT_STAT *sbuf); int (*unlink)(char *path); int (*chmod)(char *path, mode_t mode); + int (*chown)(char *path, uid_t uid, gid_t gid); + int (*chdir)(char *path); + char *(*getwd)(char *buf); int (*utime)(char *path, struct utimbuf *times); int (*ftruncate)(int fd, SMB_OFF_T offset); BOOL (*lock)(int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type); +#if 0 + size_t (*get_nt_acl)(files_struct *fsp, SEC_DESC **ppdesc); + BOOL (*set_nt_acl)(files_struct *fsp, uint32 security_info_sent, SEC_DESC *psd); +#endif }; struct vfs_options { |