16 #include <grass/gis.h> 17 #include <grass/vector.h> 18 #include <grass/glocale.h> 19 #include <grass/raster3d.h> 21 #include "manage_local_proto.h" 49 if (strcmp(xmapset,
G_mapset()) != 0)
57 G_warning(
_(
"Vector map <%s> not found"), old);
73 G_warning(
_(
"Raster map <%s> not found"), old);
78 G_warning(
_(
"3D raster map <%s> not found"), old);
int G_strcasecmp(const char *x, const char *y)
String compare ignoring case (upper or lower)
void G_verbose_message(const char *msg,...)
Print a message to stderr but only if module is in verbose mode.
void G_fatal_error(const char *msg,...)
Print a fatal error message to stderr.
int G_snprintf(char *str, size_t size, const char *fmt,...)
snprintf() clone.
const char * G_find_raster3d(const char *name, const char *mapset)
Search for a 3D raster map in current search path or in a specified mapset.
int Vect_delete(const char *map)
Delete vector map including attribute tables.
int G_remove(const char *element, const char *name)
Remove a database file.
int M_do_remove(int n, const char *old)
Remove elements from data base.
int M__hold_signals(int hold)
Hold signals.
void G_message(const char *msg,...)
Print a message to stderr.
const char * G_find_raster2(const char *name, const char *mapset)
Find a raster map (look but don't touch)
int G_name_is_fully_qualified(const char *fullname, char *name, char *mapset)
Check if map name is fully qualified (map @ mapset)
const char * G_mapset(void)
Get current mapset name.
const char * G_find_vector2(const char *name, const char *mapset)
Find a vector map (look but don't touch)
void G_warning(const char *msg,...)
Print a warning message to stderr.