32 #ifndef YAZ_FILE_GLOB_H
33 #define YAZ_FILE_GLOB_H
43 #define YAZ_FILE_GLOB_FAIL_NOTEXIST 1
int yaz_file_glob(const char *pattern, yaz_glob_res_t *res)
perform glob
struct glob_res * yaz_glob_res_t
file glob handle
size_t yaz_file_glob_get_num(yaz_glob_res_t res)
return number of matching files
void yaz_file_globfree(yaz_glob_res_t *res)
release glob result
const char * yaz_file_glob_get_file(yaz_glob_res_t res, size_t idx)
return resulting matching file
int yaz_file_glob2(const char *pattern, yaz_glob_res_t *res, unsigned flags)
perform glob (with flags)
Header with fundamental macros.