CLucene - a full-featured, c++ search engine
API Documentation


dirent.h File Reference

Go to the source code of this file.

Classes

struct  dirent
 dirent.c More...
struct  DIR
 DIR structure - used by the dirent.h directory iteration functions. More...

Defines

#define DIRENT_SEARCH_SUFFIX   "*"
#define DIRENT_SLASH   PATH_DELIMITERA

Functions

DIRopendir (const char *filespec)
 Returns a pointer to a DIR structure appropriately filled in to begin searching a directory.
struct direntreaddir (DIR *dir)
 Return a pointer to a dirent structure filled with the information on the next entry in the directory.
int32_t closedir (DIR *dir)
 Frees up resources allocated by opendir.


Define Documentation

#define DIRENT_SEARCH_SUFFIX   "*"

#define DIRENT_SLASH   PATH_DELIMITERA


Function Documentation

int32_t closedir ( DIR dir  ) 

Frees up resources allocated by opendir.

DIR* opendir ( const char *  filespec  ) 

Returns a pointer to a DIR structure appropriately filled in to begin searching a directory.

struct dirent* readdir ( DIR dir  )  [read]

Return a pointer to a dirent structure filled with the information on the next entry in the directory.


clucene.sourceforge.net