24 if (group ==
NULL || *group == 0)
57 if (file ==
NULL || *file == 0)
75 if (file ==
NULL || *file == 0)
94 if (subgroup ==
NULL || *subgroup == 0)
97 sprintf(element,
"subgroup%c%s",
HOST_DIRSEP, subgroup);
98 G_debug(5,
"I_find_subgroup() element: %s", element);
118 if (subgroup ==
NULL || *subgroup == 0)
121 sprintf(element,
"subgroup%c%s",
HOST_DIRSEP, subgroup);
122 G_debug(5,
"I_find_subgroup2() element: %s", element);
142 if (subgroup ==
NULL || *subgroup == 0)
144 if (file ==
NULL || *file == 0)
149 G_debug(5,
"I_find_subgroup_file() element: %s", element);
164 const char *mapset,
const char *
file)
170 if (subgroup ==
NULL || *subgroup == 0)
172 if (file ==
NULL || *file == 0)
177 G_debug(5,
"I_find_subgroup_file2() element: %s", element);
210 G_debug(1,
"I_find_signature(): type=%d name=%s mapset=%s", type, name,
245 G_debug(1,
"I_find_signature2(): type=%d name=%s mapset=%s", type, name,
const char * G_find_file2(const char *, const char *, const char *)
Searches for a file from the mapset search list or in a specified mapset. (look but don't touch) ...
int I_find_subgroup2(const char *group, const char *subgroup, const char *mapset)
Searches for a subgroup in specified mapset or any mapset if mapset is not set.
int I_find_subgroup_file2(const char *group, const char *subgroup, const char *mapset, const char *file)
Searches for a subgroup file in the specified mapset.
int I_find_subgroup(const char *group, const char *subgroup)
Searches for a subgroup in the current mapset.
int I_find_group(const char *group)
does group exist?
int I_find_group2(const char *group, const char *mapset)
Does the group exists?
int I_find_group_file(const char *group, const char *file)
Searches for a group file in the current mapset.
const char * I_find_signature2(I_SIGFILE_TYPE type, const char *name, const char *mapset)
Find mapset containing signature (look but don't touch)
const char * G_find_file2_misc(const char *, const char *, const char *, const char *)
Searches for a misc file from the mapset search list or in a specified mapset. (look but don't touch)...
const char * G_find_file(const char *, char *, const char *)
Searches for a file from the mapset search list or in a specified mapset.
const char * G_mapset(void)
Get current mapset name.
int I_find_group_file2(const char *group, const char *mapset, const char *file)
Searches for a group file in the specified mapset.
void I_get_signatures_dir(char *, I_SIGFILE_TYPE)
Get signature directory.
const char * I_find_signature(I_SIGFILE_TYPE type, char *name, const char *mapset)
Find mapset containing signature file.
int I_find_subgroup_file(const char *group, const char *subgroup, const char *file)
Searches for a subgroup file in the current mapset.
int G_debug(int, const char *,...) __attribute__((format(printf