41 G_warning(
_(
"Unable to create signature file <%s> for subgroup <%s> " 42 "of group <%s> - <%s> is not current mapset"),
43 name, subgroup, group, mapset);
46 strcpy(group_name, group);
50 sprintf(element,
"%s/subgroup/%s/sigset", group_name, subgroup);
53 sprintf(element,
"subgroup/%s/sigset/%s", subgroup, name);
57 G_warning(
_(
"Unable to create signature file <%s> for subgroup <%s> " 59 name, subgroup, group);
82 sprintf(element,
"subgroup/%s/sigset/%s", subgroup, name);
FILE * I_fopen_sigset_file_old(const char *group, const char *subgroup, const char *name)
Open existing signiture file.
int G_unqualified_name(const char *, const char *, char *, char *)
Returns unqualified map name (without @ mapset)
int G__make_mapset_element_misc(const char *, const char *)
Create misc element in the current mapset.
FILE * G_fopen_old_misc(const char *, const char *, const char *, const char *)
open a database file for reading
FILE * G_fopen_new_misc(const char *, const char *, const char *)
open a new database file
const char * G_mapset(void)
Get current mapset name.
void G_warning(const char *,...) __attribute__((format(printf
FILE * I_fopen_sigset_file_new(const char *group, const char *subgroup, const char *name)
Create new signiture file in given group/subgroup.
int G_name_is_fully_qualified(const char *, char *, char *)
Check if map name is fully qualified (map @ mapset)