Lines Matching defs:ExpandFile

101 struct ExpandFile {
115 static int ef_record_pathname(ExpandFile *ef, const char *pathname,
117 static char *ef_cache_pathname(ExpandFile *ef, const char *pathname,
119 static void ef_clear_files(ExpandFile *ef);
121 static DirNode *ef_open_dir(ExpandFile *ef, const char *pathname);
122 static DirNode *ef_close_dir(ExpandFile *ef, DirNode *node);
123 static char *ef_expand_special(ExpandFile *ef, const char *path, int pathlen);
124 static int ef_match_relative_pathname(ExpandFile *ef, DirReader *dr,
160 * return ExpandFile * The new object, or NULL on error.
162 ExpandFile *new_ExpandFile(void)
164 ExpandFile *ef; /* The object to be returned */
168 ef = (ExpandFile *) malloc(sizeof(ExpandFile));
234 * Delete a ExpandFile object.
237 * ef ExpandFile * The object to be deleted.
239 * return ExpandFile * The deleted object (always NULL).
241 ExpandFile *del_ExpandFile(ExpandFile *ef)
321 * ef ExpandFile * The pathname expansion resource object.
333 * ExpandFile object. This contains an array
341 * copy of the array, or use two ExpandFile
348 FileExpansion *ef_expand_file(ExpandFile *ef, const char *path, int pathlen)
485 * ef ExpandFile * The pathname expansion resource object.
498 static int ef_match_relative_pathname(ExpandFile *ef, DirReader *dr,
590 * ef ExpandFile * The filename-match resource object.
599 static int ef_record_pathname(ExpandFile *ef, const char *pathname,
638 * ef ExpandFile * The filename-match resource object.
647 static char *ef_cache_pathname(ExpandFile *ef, const char *pathname,
662 * ef ExpandFile * The pathname expansion resource object.
664 static void ef_clear_files(ExpandFile *ef)
678 * ef ExpandFile * The pathname expansion resource object.
685 static DirNode *ef_open_dir(ExpandFile *ef, const char *pathname)
765 * ef ExpandFile * The pathname expansion resource object.
771 static DirNode *ef_close_dir(ExpandFile *ef, DirNode *node)
1036 * ef ExpandFile * The resource object of the file matcher.
1043 static char *ef_expand_special(ExpandFile *ef, const char *path, int pathlen)
1226 * ef ExpandFile * The path-expansion resource object.
1230 const char *ef_last_error(ExpandFile *ef)
1232 return ef ? _err_get_msg(ef->err) : "NULL ExpandFile argument";