static int smb_Dir_destructor(struct smb_Dir *dir_hnd);
+static bool SearchDir(struct smb_Dir *dir_hnd, const char *name, long *poffset);
+
#define INVALID_DPTR_KEY (-3)
/****************************************************************************
Don't check for veto or invisible files.
********************************************************************/
-bool SearchDir(struct smb_Dir *dir_hnd, const char *name, long *poffset)
+static bool SearchDir(struct smb_Dir *dir_hnd, const char *name, long *poffset)
{
int i;
const char *entry = NULL;
void RewindDir(struct smb_Dir *dir_hnd, long *poffset);
void SeekDir(struct smb_Dir *dirp, long offset);
long TellDir(struct smb_Dir *dirp);
-bool SearchDir(struct smb_Dir *dirp, const char *name, long *poffset);
NTSTATUS can_delete_directory(struct connection_struct *conn,
const char *dirname);
bool have_file_open_below(connection_struct *conn,