#include <XrdDigFS.hh>
|
static const int | aESZ = (MAXNAMLEN+MAXPATHLEN)/sizeof(const char *) |
|
XrdDigDirectory::XrdDigDirectory |
( |
char * |
user = 0 , |
|
|
int |
monid = 0 |
|
) |
| |
|
inline |
XrdDigDirectory::~XrdDigDirectory |
( |
| ) |
|
|
inline |
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.
int XrdDigDirectory::close |
( |
| ) |
|
|
virtual |
const char* XrdDigDirectory::FName |
( |
| ) |
|
|
inlinevirtual |
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.
int XrdDigDirectory::open |
( |
const char * |
dirName, |
|
|
const XrdSecClientName * |
client = 0 , |
|
|
const char * |
opaque = 0 |
|
) |
| |
const char* XrdDigDirectory::aEnt[aESZ] |
const int XrdDigDirectory::aESZ = (MAXNAMLEN+MAXPATHLEN)/sizeof(const char *) |
|
staticprivate |
bool XrdDigDirectory::ateof |
|
private |
struct dirent XrdDigDirectory::d_entry |
struct dirent* XrdDigDirectory::d_pnt |
|
private |
struct { ... } XrdDigDirectory::dirent_full |
int XrdDigDirectory::dirFD |
|
private |
char* XrdDigDirectory::fname |
|
private |
bool XrdDigDirectory::isBase |
|
private |
bool XrdDigDirectory::isProc |
|
private |
char XrdDigDirectory::nbf[MAXNAMLEN+MAXPATHLEN] |
bool XrdDigDirectory::noTag |
|
private |
char XrdDigDirectory::pad[MAXNAMLEN] |
struct stat* XrdDigDirectory::sBuff |
|
private |
The documentation for this class was generated from the following file: