62 if (strcmp(mapset,
G_mapset()) == 0) {
void G_warning(const char *,...) __attribute__((format(printf
const char * G_mapset(void)
Get current mapset name.
const char * G_find_vector(char *, const char *)
Finds a vector map.
size_t G_strlcpy(char *, const char *, size_t)
Safe string copy function.
int Rast__read_colors(const char *, const char *, const char *, struct Colors *)
void Rast_init_colors(struct Colors *)
Initialize color structure.
#define GV_COLR2_DIRECTORY
Name of directory for alternative color tables.
#define GV_DIRECTORY
Name of vector directory.
#define GV_COLR_ELEMENT
Color table.
int Vect_read_colors(const char *name, const char *mapset, struct Colors *colors)
Read color table of vector map.