s3: smbd: srvstr_get_path_wcard_posix() is no longer used.
authorJeremy Allison <jra@samba.org>
Tue, 29 Sep 2020 20:48:57 +0000 (13:48 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 30 Sep 2020 20:46:41 +0000 (20:46 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/proto.h
source3/smbd/reply.c

index dafe448e3a8a688c12ab45ed1c6a25dbf490545c..6e2f42783e823b44c12dcf424909d6386f1f3c4d 100644 (file)
@@ -947,15 +947,6 @@ size_t srvstr_get_path_wcard(TALLOC_CTX *ctx,
                        int flags,
                        NTSTATUS *err,
                        bool *contains_wcard);
-size_t srvstr_get_path_wcard_posix(TALLOC_CTX *ctx,
-                       const char *inbuf,
-                       uint16_t smb_flags2,
-                       char **pp_dest,
-                       const char *src,
-                       size_t src_len,
-                       int flags,
-                       NTSTATUS *err,
-                       bool *contains_wcard);
 size_t srvstr_get_path(TALLOC_CTX *ctx,
                        const char *inbuf,
                        uint16_t smb_flags2,
index 9f8ca773548d5872d9e478f26aa0f23a56480ac0..6947af6c63abd31bc625c716a095c13f7c65a25d 100644 (file)
@@ -329,33 +329,6 @@ size_t srvstr_get_path_wcard(TALLOC_CTX *ctx,
                        contains_wcard);
 }
 
-/****************************************************************************
- Pull a string and check the path allowing a wildcard - provide for error return.
- posix_pathnames version.
-****************************************************************************/
-
-size_t srvstr_get_path_wcard_posix(TALLOC_CTX *ctx,
-                       const char *base_ptr,
-                       uint16_t smb_flags2,
-                       char **pp_dest,
-                       const char *src,
-                       size_t src_len,
-                       int flags,
-                       NTSTATUS *err,
-                       bool *contains_wcard)
-{
-       return srvstr_get_path_wcard_internal(ctx,
-                       base_ptr,
-                       smb_flags2,
-                       pp_dest,
-                       src,
-                       src_len,
-                       flags,
-                       true,
-                       err,
-                       contains_wcard);
-}
-
 /****************************************************************************
  Pull a string and check the path - provide for error return.
 ****************************************************************************/