#include <XrdDigFS.hh>
|
static const int | aESZ = (MAXNAMLEN+MAXPATHLEN)/sizeof(const char *) |
|
◆ XrdDigDirectory()
XrdDigDirectory::XrdDigDirectory |
( |
char * |
user = 0 , |
|
|
int |
monid = 0 |
|
) |
| |
|
inline |
◆ ~XrdDigDirectory()
XrdDigDirectory::~XrdDigDirectory |
( |
| ) |
|
|
inline |
◆ autoStat()
int XrdDigDirectory::autoStat |
( |
struct stat * |
buf | ) |
|
|
inlinevirtual |
Set the stat() buffer where stat information is to be placed corresponding to the directory entry returned by nextEntry().
- Returns
- If supported, SFS_OK should be returned. If not supported, then SFS_ERROR should be returned with error.code set to ENOTSUP.
- Note
- : When autoStat() is in effect, directory entries that have been deleted from the target directory are quietly skipped.
Reimplemented from XrdSfsDirectory.
References sBuff, and SFS_OK.
◆ close()
int XrdDigDirectory::close |
( |
| ) |
|
|
virtual |
◆ FName()
const char * XrdDigDirectory::FName |
( |
| ) |
|
|
inlinevirtual |
◆ nextEntry()
const char * XrdDigDirectory::nextEntry |
( |
| ) |
|
|
virtual |
Get the next directory entry.
- Returns
- A null terminated string with the directory name. Normally, "." ".." are not returned. If a null pointer is returned then if this is due to an error, error.code should contain errno. Otherwise, error.code should contain zero to indicate that no more entries exist (i.e. end of list). See autoStat() for additional caveats.
Implements XrdSfsDirectory.
◆ open()
int XrdDigDirectory::open |
( |
const char * |
dirName, |
|
|
const XrdSecClientName * |
client = 0 , |
|
|
const char * |
opaque = 0 |
|
) |
| |
◆ aEnt
const char* XrdDigDirectory::aEnt[aESZ] |
◆ aESZ
const int XrdDigDirectory::aESZ = (MAXNAMLEN+MAXPATHLEN)/sizeof(const char *) |
|
staticprivate |
◆ ateof
bool XrdDigDirectory::ateof |
|
private |
◆ d_entry
struct dirent XrdDigDirectory::d_entry |
◆ d_pnt
struct dirent* XrdDigDirectory::d_pnt |
|
private |
◆ dh
◆ [struct]
struct { ... } XrdDigDirectory::dirent_full |
◆ dirFD
int XrdDigDirectory::dirFD |
|
private |
◆ fname
char* XrdDigDirectory::fname |
|
private |
◆ isBase
bool XrdDigDirectory::isBase |
|
private |
◆ isProc
bool XrdDigDirectory::isProc |
|
private |
◆ nbf
char XrdDigDirectory::nbf[MAXNAMLEN+MAXPATHLEN] |
◆ noTag
bool XrdDigDirectory::noTag |
|
private |
◆ pad
char XrdDigDirectory::pad[MAXNAMLEN] |
◆ sBuff
struct stat* XrdDigDirectory::sBuff |
|
private |
The documentation for this class was generated from the following file: