summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-06-12 12:41:19 -0700
committerTim Prouty <tprouty@samba.org>2009-06-12 16:14:44 -0700
commit9d7c4ad7482d0c5cff6d15324f82767c851bbf43 (patch)
tree0ff0b0c154b924780f031bbd0629db3c949efaf9 /source3/include/proto.h
parentf409b00dc7100bfd574848a4d3ebd04ef3825baf (diff)
downloadsamba-9d7c4ad7482d0c5cff6d15324f82767c851bbf43.tar.gz
samba-9d7c4ad7482d0c5cff6d15324f82767c851bbf43.tar.bz2
samba-9d7c4ad7482d0c5cff6d15324f82767c851bbf43.zip
s3: Add smb_filename utility functions and fix a bug in copy_smb_filename
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h9
1 files changed, 9 insertions, 0 deletions
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);