From bddd7ad3dcc4a74fb61e09a2dd6fb7034c820046 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Tue, 9 Jun 2009 17:04:10 -0700 Subject: s3: Add utility function for copying an smb_filename struct --- source3/include/proto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index 9b297155e9..f5e44bad64 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6362,6 +6362,9 @@ 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 copy_smb_filename(TALLOC_CTX *ctx, + const struct smb_filename *smb_fname_in, + struct smb_filename **smb_fname_out); NTSTATUS unix_convert(TALLOC_CTX *ctx, connection_struct *conn, const char *orig_path, -- cgit