22 #include "manage_local_proto.h" 43 list[n].maindesc, old,
new);
54 G_warning(
_(
"Vector map <%s> not found"), old);
62 G_warning(
_(
"Unable to rename vector map <%s> to <%s>"),
71 G_warning(
_(
"Raster map <%s> not found"), old);
76 G_warning(
_(
"3D raster map <%s> not found"), old);
99 sprintf(colr2,
"colr2/%s",
G_mapset());
101 switch (
G_rename(colr2, old,
new)) {
int G_remove(const char *, const char *)
Remove a database file.
int M__hold_signals(int)
Hold signals.
const char * G_find_vector2(const char *, const char *)
Find a vector map (look but don't touch)
int Vect_rename(const char *, const char *)
Rename existing vector map (in the current mapset).
const char * G_find_raster3d(const char *, const char *)
Search for a 3D raster map in current search path or in a specified mapset.
int M__get_description_len(int)
Get max length of element's description.
void G_message(const char *,...) __attribute__((format(printf
int int G_strcasecmp(const char *, const char *)
String compare ignoring case (upper or lower)
int G_rename(const char *, const char *, const char *)
Rename a database file.
int M_do_rename(int n, const char *old, const char *new)
Rename element.
const char * G_mapset(void)
Get current mapset name.
void G_warning(const char *,...) __attribute__((format(printf
const char * G_find_raster2(const char *, const char *)
Find a raster map (look but don't touch)
void void G_verbose_message(const char *,...) __attribute__((format(printf