From 9d7c4ad7482d0c5cff6d15324f82767c851bbf43 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Fri, 12 Jun 2009 12:41:19 -0700 Subject: s3: Add smb_filename utility functions and fix a bug in copy_smb_filename --- source3/include/proto.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index a0ad282242..c39bb783e6 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6362,6 +6362,15 @@ int fsp_stat(files_struct *fsp, SMB_STRUCT_STAT *pst); NTSTATUS get_full_smb_filename(TALLOC_CTX *ctx, const struct smb_filename *smb_fname, char **full_name); +NTSTATUS create_synthetic_smb_fname(TALLOC_CTX *ctx, const char *base_name, + const char *stream_name, + SMB_STRUCT_STAT *psbuf, + struct smb_filename **smb_fname_out); +NTSTATUS create_synthetic_smb_fname_split(TALLOC_CTX *ctx, + const char *fname, + SMB_STRUCT_STAT *psbuf, + struct smb_filename **smb_fname_out); +char *smb_fname_str_dbg(const struct smb_filename *smb_fname); NTSTATUS copy_smb_filename(TALLOC_CTX *ctx, const struct smb_filename *smb_fname_in, struct smb_filename **smb_fname_out); -- cgit