SMBdirent *readdir(int dirdesc)
This method returns information concerning the next entry for the
directory corresponding to dirdesc.
A cache is used so as
to improve performances.
dirdesc is a directory descriptor corresponding to an already opened directory. This must be a descriptor returned by the library functions, and not by the standard ones.
As for standard readdir, the pointer returned shouldn't be fred by the user.
On error, 0 is returned and error() will return the corresponding error code.
Opens a directory referenced by URL. Returns
a directory descriptor.
int
opendir(const char
*name)
Close the directory associated with this
file descriptor
int
closedir(int
dirdesc)
Position the position pointer for this
directory descriptor. Returns -1 on error.
int
rewinddir(int
dirdesc)Specify a callback for retreiving password and user name
This class replaces the structure dirent,
and provides more useful fields
class
SMBdirent
Copyright © Nicolas Brodu, 1999 - 2000