file_enumerator_t Struct Referenceabstract
Enumerate files in the specified directory. More...
#include <diskio.hpp>
Public Member Functions | |
virtual int | visit_file (const char *file)=0 |
Detailed Description
Enumerate files in the specified directory.
- Parameters
-
[out] answer buffer to contain the file name for which file_enumerator_t::visit_file returns non-zero value (may be nullptr) answer_size size of 'answer' path directory to enumerate files in fname mask of file names to enumerate fv file_enumerator_t::visit_file function called for each file - file: full file name (with path)
- if returns non-zero value, the enumeration is stopped and the return code is is returned to the caller. the callback function
- Returns
- zero or the code returned by 'func'
The documentation for this struct was generated from the following file:
Generated by 1.9.3