diff options
author | Günther Deschner <gd@samba.org> | 2011-03-22 21:45:44 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-03-30 01:13:08 +0200 |
commit | 8560c00a507126c0d315d0b790ab154a3a75a426 (patch) | |
tree | 4c566591a456850465e4a448db03758cb69fc941 /source3/include | |
parent | 6b76909f5ef5f279cb73decf83f23d3dbf8adaf8 (diff) | |
download | samba-8560c00a507126c0d315d0b790ab154a3a75a426.tar.gz samba-8560c00a507126c0d315d0b790ab154a3a75a426.tar.bz2 samba-8560c00a507126c0d315d0b790ab154a3a75a426.zip |
s3: move filename_util.c out of source3/smbd to source3/lib.
Guenther
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 94f8ad60b4..35cfa2073a 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3727,26 +3727,6 @@ NTSTATUS filename_convert(TALLOC_CTX *mem_ctx, bool *ppath_contains_wcard, struct smb_filename **pp_smb_fname); -/* The following definitions come from smbd/filename_utils.c */ - -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, - const SMB_STRUCT_STAT *psbuf, - struct smb_filename **smb_fname_out); -NTSTATUS create_synthetic_smb_fname_split(TALLOC_CTX *ctx, - const char *fname, - const SMB_STRUCT_STAT *psbuf, - struct smb_filename **smb_fname_out); -const char *smb_fname_str_dbg(const struct smb_filename *smb_fname); -const char *fsp_str_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); -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); - /* The following definitions come from smbd/files.c */ NTSTATUS file_new(struct smb_request *req, connection_struct *conn, @@ -4716,4 +4696,24 @@ bool sid_check_is_in_unix_groups(const struct dom_sid *sid); const char *unix_groups_domain_name(void); bool lookup_unix_group_name(const char *name, struct dom_sid *sid); +/* The following definitions come from lib/filename_util.c */ + +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, + const SMB_STRUCT_STAT *psbuf, + struct smb_filename **smb_fname_out); +NTSTATUS create_synthetic_smb_fname_split(TALLOC_CTX *ctx, + const char *fname, + const SMB_STRUCT_STAT *psbuf, + struct smb_filename **smb_fname_out); +const char *smb_fname_str_dbg(const struct smb_filename *smb_fname); +const char *fsp_str_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); +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); + #endif /* _PROTO_H_ */ |