23 #include "manage_local_proto.h"
42 G_message(
_(
"Rename %s <%s> to <%s>"),
list[n].maindesc, old,
new);
51 G_warning(
_(
"Vector map <%s> not found"), old);
59 G_warning(
_(
"Unable to rename vector map <%s> to <%s>"), old,
68 G_warning(
_(
"Raster map <%s> not found"), old);
73 G_warning(
_(
"3D raster map <%s> not found"), old);
99 _(
"String for secondary color table has been truncated"));
101 switch (
G_rename(colr2, old,
new)) {
const char * G_find_vector2(const char *, const char *)
Find a vector map (look but don't touch)
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
const char * G_mapset(void)
Get current mapset name.
int G_remove(const char *, const char *)
Remove a database file.
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 int G_strcasecmp(const char *, const char *)
String compare ignoring case (upper or lower)
void G_message(const char *,...) __attribute__((format(printf
int G_rename(const char *, const char *, const char *)
Rename a database file.
int M__hold_signals(int)
Hold signals.
int Vect_rename(const char *, const char *)
Rename existing vector map (in the current mapset).
int M_do_rename(int n, const char *old, const char *new)
Rename element.