diff options
-rw-r--r-- | source3/smbd/dir.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 38059152106..cbd32e30704 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -1588,7 +1588,8 @@ static int smb_Dir_destructor(struct smb_Dir *dirp) Open a directory. ********************************************************************/ -struct smb_Dir *OpenDir(TALLOC_CTX *mem_ctx, connection_struct *conn, +static struct smb_Dir *OpenDir_internal(TALLOC_CTX *mem_ctx, + connection_struct *conn, const char *name, const char *mask, uint32_t attr) @@ -1628,6 +1629,18 @@ struct smb_Dir *OpenDir(TALLOC_CTX *mem_ctx, connection_struct *conn, return NULL; } +struct smb_Dir *OpenDir(TALLOC_CTX *mem_ctx, connection_struct *conn, + const char *name, + const char *mask, + uint32_t attr) +{ + return OpenDir_internal(mem_ctx, + conn, + name, + mask, + attr); +} + /******************************************************************* Open a directory from an fsp. ********************************************************************/ |