14 return !stat(filename,&buffer);
20 char const * name = NULL;
21 for (
size_t i = 0; (i < count) && (name == NULL); ++i)
31 for (
size_t i = 0; (i < count) && (
type == INT_MAX); ++i)
32 if (!strcmp(pairs[i].name, name))
type = pairs[i].
type;
int yac_name_type_pair_get_type(struct yac_name_type_pair const *pairs, size_t count, char const *name)
char const * yac_name_type_pair_get_name(struct yac_name_type_pair const *pairs, size_t count, int type)
int yac_file_exists(const char *filename)