#include <sys/types.h>
#include <dirent.h>
Go to the source code of this file.
Classes | |
struct | DIRECTORYDATASTRUCT |
Functions | |
CHIPCARD_API DIRECTORYDATA * | Directory_new () |
CHIPCARD_API void | Directory_free (DIRECTORYDATA *d) |
CHIPCARD_API int | Directory_Open (DIRECTORYDATA *d, const char *n) |
CHIPCARD_API int | Directory_Close (DIRECTORYDATA *d) |
CHIPCARD_API int | Directory_Read (DIRECTORYDATA *d, char *buffer, int len) |
CHIPCARD_API int | Directory_Rewind (DIRECTORYDATA *d) |
Variables | |
typedefCHIPCARD_API struct DIRECTORYDATASTRUCT | DIRECTORYDATA |
|
Closes a previously opened directory.
|
|
Destructor |
|
Constructor. |
|
Opens a directory. This allows calling "Directory_Read" to succeed.
|
|
Reads the next entry from a directory and stores the name of that entry in the given buffer. The entry returned is relative to the open directory.
|
|
Rewinds the internal pointers, so that the next call to
|
|
|