24 if (group ==
NULL || *group == 0)
57 if (file ==
NULL || *file == 0)
74 if (file ==
NULL || *file == 0)
93 if (subgroup ==
NULL || *subgroup == 0)
96 sprintf(element,
"subgroup%c%s",
HOST_DIRSEP, subgroup);
97 G_debug(5,
"I_find_subgroup() element: %s", element);
116 if (subgroup ==
NULL || *subgroup == 0)
119 sprintf(element,
"subgroup%c%s",
HOST_DIRSEP, subgroup);
120 G_debug(5,
"I_find_subgroup2() element: %s", element);
140 if (subgroup ==
NULL || *subgroup == 0)
142 if (file ==
NULL || *file == 0)
146 G_debug(5,
"I_find_subgroup_file() element: %s", element);
161 const char *mapset,
const char *
file)
167 if (subgroup ==
NULL || *subgroup == 0)
169 if (file ==
NULL || *file == 0)
173 G_debug(5,
"I_find_subgroup_file2() element: %s", element);
194 const char *type,
const char *
file)
200 if (subgroup ==
NULL || *subgroup == 0)
202 if (type ==
NULL || *type == 0)
204 if (file ==
NULL || *file == 0)
208 G_debug(5,
"I_find_signature_file() element: %s", element);
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 * G_find_file2_misc(const char *, 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) ...
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.
int I_find_signature_file(const char *group, const char *subgroup, const char *type, const char *file)
does signature file exists?
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