Lines Matching defs:list
15 * This defines a function that returns a list of matching filenames.
17 * This defines a function that steps thru the list of matching
20 * This defines a function that returns the complete list of
26 #define DECL_GLOB_LIST(list) char **list; char **pp;
27 #define GLOB_LIST(filename,list) list = _fnexplode(filename)
28 #define GLOB_LIST_FAILED(list) list == NULL
29 #define SCAN_GLOB_LIST(list,p) pp = list; *pp != NULL; pp++
30 #define INIT_GLOB_LIST(list,p) p = *pp
31 #define GLOB_LIST_DONE(list) _fnexplodefree(list)
36 #define DECL_GLOB_LIST(list) glob_t list; int i;
37 #define GLOB_LIST(filename,list) glob(filename,GLOB_NOCHECK,0,&list)
38 #define GLOB_LIST_FAILED(list) 0
39 #define SCAN_GLOB_LIST(list,p) i = 0; i < list.gl_pathc; i++
40 #define INIT_GLOB_LIST(list,p) p = list.gl_pathv[i]
41 #define GLOB_LIST_DONE(list) globfree(&list)