struct memcache *dptr_cache;
};
+#if 0
static bool is_visible_file(connection_struct *conn,
struct smb_Dir *dir_hnd,
const char *name,
SMB_STRUCT_STAT *pst,
bool use_veto);
+#endif
static struct smb_Dir *OpenDir_fsp(TALLOC_CTX *mem_ctx, connection_struct *conn,
files_struct *fsp,
dptr->priv = true;
}
+#if 0
/****************************************************************************
Return the next visible file name, skipping veto'd and invisible files.
****************************************************************************/
}
return NULL;
}
+#endif
/****************************************************************************
Return the next visible file name, skipping veto'd and invisible files.
SET_STAT_INVALID(*pst);
if (dptr->has_wild || dptr->did_stat) {
- name_temp = dptr_normal_ReadDirName(dptr, poffset, pst,
+ name_temp = ReadDirName(dptr->dir_hnd, poffset, pst,
&talloced);
if (name_temp == NULL) {
return NULL;
TALLOC_FREE(pathreal);
- name_temp = dptr_normal_ReadDirName(dptr, poffset, pst, &talloced);
+ name_temp = ReadDirName(dptr->dir_hnd, poffset, pst, &talloced);
if (name_temp == NULL) {
return NULL;
}
return true;
}
+#if 0
/*******************************************************************
Check to see if a user can read a file. This is only approximate,
it is used as part of the "hide unreadable" option. Don't
}
return true;
}
+#endif
/*******************************************************************
Check to see if a user can read an fsp . This is only approximate,
return true;
}
+#if 0
/*******************************************************************
Check to see if a user can write a file (and only files, we do not
check dirs on this one). This is only approximate,
return can_write_to_file(conn, dirfsp, smb_fname);
}
+#endif
/*******************************************************************
Check to see if a user can write to an fsp.
return True;
}
+#if 0
/*******************************************************************
Should the file be seen by the client?
NOTE: A successful return is no guarantee of the file's existence.
TALLOC_FREE(entry);
return ret;
}
+#endif
/*******************************************************************
Should the file be seen by the client?