summaryrefslogtreecommitdiff
path: root/source3/modules/onefs.h
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2008-12-12 14:32:48 -0800
committerTim Prouty <tprouty@samba.org>2009-01-11 22:13:36 -0800
commita1e428914b9bc468d99775607781ff15169defa4 (patch)
treecef8b8f9bc5c9d4565e701678136f869579d0534 /source3/modules/onefs.h
parent5c48ba6563ff025037b9337d34b9aa13de610fba (diff)
downloadsamba-a1e428914b9bc468d99775607781ff15169defa4.tar.gz
s3: Add OneFS alternate data streams implementation
Diffstat (limited to 'source3/modules/onefs.h')
-rw-r--r--source3/modules/onefs.h31
1 files changed, 29 insertions, 2 deletions
diff --git a/source3/modules/onefs.h b/source3/modules/onefs.h
index 884f1416611..6e5eae3085f 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
*/