3 #include <grass/imagery.h>
4 #include <grass/glocale.h>
27 *location = *mapset = 0;
34 ok = (fscanf(fd,
"%s %s", location, mapset) == 2);
37 *location = *mapset = 0;
38 G_warning(_(
"Unable to read target file for group [%s]"), group);
62 int I_put_target(
const char *group,
const char *location,
const char *mapset)
70 fprintf(fd,
"%s\n%s\n", location, mapset);
int G_suppress_warnings(int flag)
Suppress printing a warning message to stderr.
int I_put_target(const char *group, const char *location, const char *mapset)
write target information
int I_get_target(const char *group, char *location, char *mapset)
read target information
FILE * I_fopen_group_file_old(const char *group, const char *file)
FILE * I_fopen_group_file_new(const char *group, const char *file)
G_warning("category support for [%s] in mapset [%s] %s", name, mapset, type)