diff options
author | Tim Prouty <tprouty@samba.org> | 2008-12-12 14:32:48 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-01-11 22:13:36 -0800 |
commit | a1e428914b9bc468d99775607781ff15169defa4 (patch) | |
tree | cef8b8f9bc5c9d4565e701678136f869579d0534 /source3/modules/onefs.h | |
parent | 5c48ba6563ff025037b9337d34b9aa13de610fba (diff) | |
download | samba-a1e428914b9bc468d99775607781ff15169defa4.tar.gz samba-a1e428914b9bc468d99775607781ff15169defa4.tar.bz2 samba-a1e428914b9bc468d99775607781ff15169defa4.zip |
s3: Add OneFS alternate data streams implementation
Diffstat (limited to 'source3/modules/onefs.h')
-rw-r--r-- | source3/modules/onefs.h | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/source3/modules/onefs.h b/source3/modules/onefs.h index 884f141661..6e5eae3085 100644 --- a/source3/modules/onefs.h +++ b/source3/modules/onefs.h @@ -67,6 +67,32 @@ NTSTATUS onefs_create_file(vfs_handle_struct *handle, int *pinfo, SMB_STRUCT_STAT *psbuf); +int onefs_close(vfs_handle_struct *handle, struct files_struct *fsp); + +int onefs_rename(vfs_handle_struct *handle, const char *oldname, + const char *newname); + +int onefs_stat(vfs_handle_struct *handle, const char *fname, + SMB_STRUCT_STAT *sbuf); + +int onefs_fstat(vfs_handle_struct *handle, struct files_struct *fsp, + SMB_STRUCT_STAT *sbuf); + +int onefs_lstat(vfs_handle_struct *handle, const char *path, + SMB_STRUCT_STAT *sbuf); + +int onefs_unlink(vfs_handle_struct *handle, const char *path); + +int onefs_chflags(vfs_handle_struct *handle, const char *path, + unsigned int flags); + +NTSTATUS onefs_streaminfo(vfs_handle_struct *handle, + struct files_struct *fsp, + const char *fname, + TALLOC_CTX *mem_ctx, + unsigned int *num_streams, + struct stream_struct **streams); + NTSTATUS onefs_fget_nt_acl(vfs_handle_struct *handle, files_struct *fsp, uint32 security_info, SEC_DESC **ppdesc); @@ -75,14 +101,15 @@ NTSTATUS onefs_get_nt_acl(vfs_handle_struct *handle, const char* name, NTSTATUS onefs_fset_nt_acl(vfs_handle_struct *handle, files_struct *fsp, uint32 security_info_sent, SEC_DESC *psd); - - /* * Utility functions */ NTSTATUS onefs_samba_sd_to_sd(uint32 security_info_sent, SEC_DESC *psd, struct ifs_security_descriptor *sd); +NTSTATUS onefs_split_ntfs_stream_name(TALLOC_CTX *mem_ctx, const char *fname, + char **pbase, char **pstream); + /* * System Interfaces */ |