diff options
author | Tim Prouty <tprouty@samba.org> | 2009-06-25 11:20:36 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-06-25 18:25:47 -0700 |
commit | 2ccd50122058df1fb5da0ab4d30085bb4ef5e867 (patch) | |
tree | fdfadb3295f1f8c2a0bc8d3f56f29f0f78ae5c7e /source3/modules/onefs.h | |
parent | 358ccc3282681b3df0ba76fecc114ad4376c8ff1 (diff) | |
download | samba-2ccd50122058df1fb5da0ab4d30085bb4ef5e867.tar.gz samba-2ccd50122058df1fb5da0ab4d30085bb4ef5e867.tar.bz2 samba-2ccd50122058df1fb5da0ab4d30085bb4ef5e867.zip |
s3 onefs: Plumb smb_filename through onefs createfile path
Diffstat (limited to 'source3/modules/onefs.h')
-rw-r--r-- | source3/modules/onefs.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/modules/onefs.h b/source3/modules/onefs.h index 3e6cd29b51..6cb8036e85 100644 --- a/source3/modules/onefs.h +++ b/source3/modules/onefs.h @@ -64,14 +64,12 @@ 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_stat(vfs_handle_struct *handle, struct smb_filename *smb_fname); 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_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname); int onefs_unlink(vfs_handle_struct *handle, const char *path); @@ -141,6 +139,10 @@ NTSTATUS onefs_samba_sd_to_sd(uint32_t security_info_sent, SEC_DESC *psd, NTSTATUS onefs_split_ntfs_stream_name(TALLOC_CTX *mem_ctx, const char *fname, char **pbase, char **pstream); +NTSTATUS onefs_stream_prep_smb_fname(TALLOC_CTX *ctx, + const struct smb_filename *smb_fname_in, + struct smb_filename **smb_fname_out); + int onefs_rdp_add_dir_state(connection_struct *conn, SMB_STRUCT_DIR *dirp); /* |