summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-11 15:24:55 +0200
committerJeremy Allison <jra@samba.org>2013-04-17 14:49:54 -0700
commite1f4942a07ef20f3540a47dd08a7a64dbd469398 (patch)
treea1b81fd4f17d1fda135ec1305e4a7b1e692871e5 /source3/include
parent0fa404c7d5c8de826d31958613b3e97587f0835d (diff)
downloadsamba-e1f4942a07ef20f3540a47dd08a7a64dbd469398.tar.gz
samba-e1f4942a07ef20f3540a47dd08a7a64dbd469398.tar.bz2
samba-e1f4942a07ef20f3540a47dd08a7a64dbd469398.zip
lib: Add cp_smb_filename
The interface of copy_smb_filename is just silly ;-) Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 00a9a69d73..2ebd14b59d 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1611,6 +1611,8 @@ const char *fsp_fnum_dbg(const struct files_struct *fsp);
NTSTATUS copy_smb_filename(TALLOC_CTX *ctx,
const struct smb_filename *smb_fname_in,
struct smb_filename **smb_fname_out);
+struct smb_filename *cp_smb_filename(TALLOC_CTX *mem_ctx,
+ const struct smb_filename *in);
bool is_ntfs_stream_smb_fname(const struct smb_filename *smb_fname);
bool is_ntfs_default_stream_smb_fname(const struct smb_filename *smb_fname);