|
Modules |
recls.c++ |
| The recls C++ mapping. It resides within the recls::cpp namespace.
|
recls API Version |
#define | RECLS_VER_MAJOR 1 |
| The major version number of RECLS.
|
#define | RECLS_VER_MINOR 0 |
| The minor version number of RECLS.
|
#define | RECLS_VER_REVISION 1 |
| The revision version number of RECLS.
|
#define | RECLS_VER RECLS_MAKE_VER(RECLS_VER_MAJOR, RECLS_VER_MINOR, RECLS_VER_REVISION) |
| The current composite version number of RECLS.
|
Search control functions |
recls_rc_t | Recls_Search (char const *searchRoot, char const *pattern, recls_uint32_t flags, hrecls_t *phSrch) |
| Searches a given directory for matching files of the given pattern.
|
recls_rc_t | Recls_SearchProcess (char const *searchRoot, char const *pattern, recls_uint32_t flags, hrecls_process_fn_t pfn, recls_process_fn_param_t param) |
| Searches a given directory for matching files of the given pattern, and processes them according to the given process function.
|
void | Recls_SearchClose (hrecls_t hSrch) |
| Closes the given search.
|
Search enumeration functions |
recls_rc_t | Recls_GetNext (hrecls_t hSrch) |
| Advances the search one position.
|
recls_rc_t | Recls_GetDetails (hrecls_t hSrch, recls_info_t *pinfo) |
| Advances the search one position, and retrieves the information for the new position.
|
recls_rc_t | Recls_GetNextDetails (hrecls_t hSrch, recls_info_t *pinfo) |
| Retrieves the information for the current search position.
|
File entry info structure functions |
void | Recls_CloseDetails (recls_info_t fileInfo) |
| Releases the resources associated with an entry info structure.
|
recls_rc_t | Recls_CopyDetails (recls_info_t fileInfo, recls_info_t *pinfo) |
| Copies an entry info structure.
|
recls_rc_t | Recls_OutstandingDetails (hrecls_t hSrch, recls_uint32_t *count) |
| Reports on the number of outstanding (i.e.
|
Error handling functions |
recls_rc_t | Recls_GetLastError (hrecls_t hSrch) |
| Returns the last error code associated with the given search handle.
|
int | Recls_GetErrorString (recls_rc_t rc, char *buffer, size_t cchBuffer) |
| Gets the error string representing the given error.
|
int | Recls_GetLastErrorString (hrecls_t hSrch, char *buffer, size_t cchBuffer) |
| Gets the error string representing the current error associated with the given search handle.
|
Property elicitation functions |
size_t | Recls_GetPathProperty (recls_info_t fileInfo, char *buffer, size_t cchBuffer) |
| Retrieves the full path of the given entry recls_fileinfo_t.
|
size_t | Recls_GetDirectoryProperty (recls_info_t fileInfo, char *buffer, size_t cchBuffer) |
| Retrieves the directory of the given entry recls_fileinfo_t.
|
size_t | Recls_GetFileProperty (recls_info_t fileInfo, char *buffer, size_t cchBuffer) |
| Retrieves the file (filename + extension) of the given entry recls_fileinfo_t.
|
size_t | Recls_GetShortFileProperty (recls_info_t fileInfo, char *buffer, size_t cchBuffer) |
| Retrieves the short version of the file of the given entry recls_fileinfo_t.
|
size_t | Recls_GetFileNameProperty (recls_info_t fileInfo, char *buffer, size_t cchBuffer) |
| Retrieves the filename (not including extension, if any) of the given entry recls_fileinfo_t.
|
size_t | Recls_GetFileExtProperty (recls_info_t fileInfo, char *buffer, size_t cchBuffer) |
| Retrieves the file extension of the given entry recls_fileinfo_t.
|
size_t | Recls_GetDirectoryPartProperty (recls_info_t fileInfo, int part, char *buffer, size_t cchBuffer) |
| Retrieves a directory part of the given entry recls_fileinfo_t.
|
recls_bool_t | Recls_IsFileReadOnly (recls_info_t fileInfo) |
| Returns non-zero if the file entry is read-only.
|
recls_bool_t | Recls_IsFileDirectory (recls_info_t fileInfo) |
| Returns non-zero if the file entry represents a directory.
|
recls_bool_t | Recls_IsFileLink (recls_info_t fileInfo) |
| Returns non-zero if the file entry represents a link.
|
recls_time_t | Recls_GetCreationTime (recls_info_t fileInfo) |
| Returns the time the file was created.
|
recls_time_t | Recls_GetModificationTime (recls_info_t fileInfo) |
| Returns the time the file was last modified.
|
recls_time_t | Recls_GetLastAccessTime (recls_info_t fileInfo) |
| Returns the time the file was last accessed.
|
recls_time_t | Recls_GetLastStatusChangeTime (recls_info_t fileInfo) |
| Returns the time the file status was last changed.
|