#include <XrdSfsInterface.hh>
The XrdSfsDirectory object is returned by XrdSfsFileSystem::newFile() when the caller wants to be able to perform directory oriented operations.
◆ XrdSfsDirectory()
XrdSfsDirectory::XrdSfsDirectory |
( |
const char * |
user = 0 , |
|
|
int |
MonID = 0 |
|
) |
| |
|
inline |
Constructor (user and MonID are the ones passed to newDir()!)
- Parameters
-
user | - Text identifying the client responsible for this call. The pointer may be null if identification is missing. |
MonID | - The monitoring identifier assigned to this and all future requests using the returned object. |
◆ ~XrdSfsDirectory()
virtual XrdSfsDirectory::~XrdSfsDirectory |
( |
| ) |
|
|
inlinevirtual |
◆ autoStat()
virtual int XrdSfsDirectory::autoStat |
( |
struct stat * |
buf | ) |
|
|
inlinevirtual |
◆ close()
virtual int XrdSfsDirectory::close |
( |
| ) |
|
|
pure virtual |
◆ FName()
virtual const char* XrdSfsDirectory::FName |
( |
| ) |
|
|
pure virtual |
◆ nextEntry()
virtual const char* XrdSfsDirectory::nextEntry |
( |
| ) |
|
|
pure 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).
Implemented in XrdOfsDirectory, XrdBwmDirectory, XrdDigDirectory, XrdSfsNativeDirectory, and XrdSsiDir.
◆ open()
virtual int XrdSfsDirectory::open |
( |
const char * |
path, |
|
|
const XrdSecEntity * |
client = 0 , |
|
|
const char * |
opaque = 0 |
|
) |
| |
|
pure 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
Implemented in XrdOfsDirectory, XrdBwmDirectory, and XrdSsiDir.
◆ error
The documentation for this class was generated from the following file: