GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r72545
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
add_elem.c File Reference

Manage Library - Add element to the list. More...

#include <grass/gis.h>
#include "manage_local_proto.h"
Include dependency graph for add_elem.c:

Go to the source code of this file.


void M__add_element (const char *elem, const char *desc)
 Add element to the list. More...

Detailed Description

Manage Library - Add element to the list.

(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.

Original author CERL

Definition in file add_elem.c.

Function Documentation

void M__add_element ( const char *  elem,
const char *  desc 

Add element to the list.

elemelement name
descdescription of the element

Definition at line 24 of file add_elem.c.

References list::desc, list::element, G_store(), list::nelem, and nlist.

Referenced by M_read_list().