GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
Manage Library - Remove elements. More...
#include <stdio.h>
#include <string.h>
#include <grass/gis.h>
#include <grass/vector.h>
#include <grass/glocale.h>
#include <grass/raster3d.h>
#include "manage_local_proto.h"
Go to the source code of this file.
Functions | |
int | M_do_remove (int n, const char *old) |
Remove elements from data base. More... | |
Manage Library - Remove elements.
(C) 2001-2011 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file do_remove.c.
int M_do_remove | ( | int | n, |
const char * | old | ||
) |
Remove elements from data base.
n | element id |
old | name of element to be removed |
Definition at line 33 of file do_remove.c.
References _, G_fatal_error(), G_find_raster2(), G_find_raster3d(), G_find_vector2(), G_mapset(), G_message(), G_name_is_fully_qualified(), G_remove(), G_strcasecmp(), G_verbose_message(), G_warning(), GMAPSET_MAX, GNAME_MAX, M__hold_signals(), list::nelem, NULL, and Vect_delete().