summaryrefslogtreecommitdiff
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2020-04-23 16:09:16 +0200
committerRalph Boehme <slow@samba.org>2020-05-06 10:18:38 +0000
commitaa5f19ddf1dec1ac4386441929bca94727f30ee6 (patch)
treefb95348034d8cbb54659529e27d2e39c17a0efc2 /source3/smbd/filename.c
parent6557777c86d72a185b3fe4061a8b5791fd748924 (diff)
downloadsamba-aa5f19ddf1dec1ac4386441929bca94727f30ee6.tar.gz
smbd: make get_real_filename_full_scan() public
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14350 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r--source3/smbd/filename.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c
index daa4d9c3faa..1c5c57c70e2 100644
--- a/source3/smbd/filename.c
+++ b/source3/smbd/filename.c
@@ -1555,10 +1555,12 @@ static bool sname_equal(const char *name1, const char *name2,
If the name looks like a mangled name then try via the mangling functions
****************************************************************************/
-static int get_real_filename_full_scan(connection_struct *conn,
- const char *path, const char *name,
- bool mangled,
- TALLOC_CTX *mem_ctx, char **found_name)
+int get_real_filename_full_scan(connection_struct *conn,
+ const char *path,
+ const char *name,
+ bool mangled,
+ TALLOC_CTX *mem_ctx,
+ char **found_name)
{
struct smb_Dir *cur_dir;
const char *dname = NULL;