#include <XrdOfs.hh>
◆ XrdOfsDirectory()
XrdOfsDirectory::XrdOfsDirectory |
( |
XrdOucErrInfo & |
eInfo, |
|
|
const char * |
user |
|
) |
| |
|
inline |
◆ ~XrdOfsDirectory()
virtual XrdOfsDirectory::~XrdOfsDirectory |
( |
| ) |
|
|
inlinevirtual |
◆ autoStat()
int XrdOfsDirectory::autoStat |
( |
struct stat * |
buf | ) |
|
|
virtual |
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.
◆ close()
int XrdOfsDirectory::close |
( |
| ) |
|
|
virtual |
◆ copyError()
◆ FName()
const char * XrdOfsDirectory::FName |
( |
| ) |
|
|
inlinevirtual |
◆ nextEntry()
const char * XrdOfsDirectory::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 XrdOfsDirectory::open |
( |
const char * |
path, |
|
|
const XrdSecEntity * |
client, |
|
|
const char * |
opaque = 0 |
|
) |
| |
|
virtual |
Open a directory.
- Parameters
-
path | - Pointer to the path of the directory to be opened. |
client | - Client's identify (see common description). |
opaque | - path's CGI information (see common description). |
- Returns
- One of SFS_OK, SFS_ERROR, SFS_REDIRECT, ir SFS_STALL
Implements XrdSfsDirectory.
◆ atEOF
int XrdOfsDirectory::atEOF |
|
protected |
◆ dname
char XrdOfsDirectory::dname[MAXNAMLEN] |
|
protected |
◆ dp
◆ fname
char* XrdOfsDirectory::fname |
|
protected |
◆ tident
const char* XrdOfsDirectory::tident |
|
protected |
The documentation for this class was generated from the following file: