XrdOssDir Class Reference
#include <XrdOssApi.hh>
List of all members.
Constructor & Destructor Documentation
XrdOssDir::XrdOssDir |
( |
const char * |
tid, |
|
|
DIR * |
dP = 0 | |
|
) |
| | [inline] |
XrdOssDir::~XrdOssDir |
( |
|
) |
[inline] |
Member Function Documentation
int XrdOssDir::Close |
( |
long long * |
retsz = 0 |
) |
[virtual] |
Close a directory or file.
- Parameters:
-
| retsz | If not nil, where the size of the file is to be returned. |
- Returns:
- 0 upon success or -errno or -osserr (see XrdOssError.hh).
Implements XrdOssDF.
Referenced by ~XrdOssDir().
int XrdOssDir::Opendir |
( |
const char * |
path, |
|
|
XrdOucEnv & |
env | |
|
) |
| | [virtual] |
Open a directory.
- Parameters:
-
| path | - Pointer to the path of the directory to be opened. |
| env | - Reference to environmental information. |
- Returns:
- 0 upon success or -errno or -osserr (see XrdOssError.hh).
Reimplemented from XrdOssDF.
int XrdOssDir::Readdir |
( |
char * |
buff, |
|
|
int |
blen | |
|
) |
| | [virtual] |
Get the next directory entry.
- Parameters:
-
| buff | - Pointer to buffer where a null terminated string of the entry name is to be returned. If no more entries exist, a null string is returned. |
| blen | - Length of the buffer. |
- Returns:
- 0 upon success or -errno or -osserr (see XrdOssError.hh).
Reimplemented from XrdOssDF.
int XrdOssDir::StatRet |
( |
struct stat * |
|
) |
[virtual] |
Set the stat() buffer where stat information is to be placed corresponding to the directory entry returned by Readdir().
- Parameters:
-
| buff | - Pointer to stat structure to be used. |
- Returns:
- 0 upon success or -ENOTSUP if not supported.
- Note:
- This is a one-time call as stat structure is reused for each Readdir.
Reimplemented from XrdOssDF.
Member Data Documentation
The documentation for this class was generated from the following file: