Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
If the name looks like a mangled name then try via the mangling functions
****************************************************************************/
-NTSTATUS get_real_filename_full_scan_at(struct files_struct *dirfsp,
- const char *name,
- bool mangled,
- TALLOC_CTX *mem_ctx,
- char **found_name)
+static NTSTATUS get_real_filename_full_scan_at(struct files_struct *dirfsp,
+ const char *name,
+ bool mangled,
+ TALLOC_CTX *mem_ctx,
+ char **found_name)
{
struct connection_struct *conn = dirfsp->conn;
struct smb_Dir *cur_dir = NULL;
NTSTATUS canonicalize_snapshot_path(struct smb_filename *smb_fname,
uint32_t ucf_flags,
NTTIME twrp);
-NTSTATUS get_real_filename_full_scan_at(struct files_struct *dirfsp,
- const char *name,
- bool mangled,
- TALLOC_CTX *mem_ctx,
- char **found_name);
char *get_original_lcomp(TALLOC_CTX *ctx,
connection_struct *conn,
const char *filename_in,