From 766f04cebd08d5b7056171945a79b7a8cb4de198 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 11 Apr 2013 17:01:22 +0200 Subject: lib: Add synthetic_smb_fname The interface of create_synthetic_smb_fname is just silly Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/include/proto.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index 6bc151e888..5b9decdc1c 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1605,6 +1605,10 @@ NTSTATUS create_synthetic_smb_fname_split(TALLOC_CTX *ctx, const char *fname, const SMB_STRUCT_STAT *psbuf, struct smb_filename **smb_fname_out); +struct smb_filename *synthetic_smb_fname(TALLOC_CTX *mem_ctx, + const char *base_name, + const char *stream_name, + const SMB_STRUCT_STAT *psbuf); const char *smb_fname_str_dbg(const struct smb_filename *smb_fname); const char *fsp_str_dbg(const struct files_struct *fsp); const char *fsp_fnum_dbg(const struct files_struct *fsp); -- cgit