|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
|
Manage Library - Read list of elements. More...
#include <string.h>#include <stdlib.h>#include <unistd.h>#include <grass/gis.h>#include <grass/glocale.h>#include "manage_local_proto.h"
Go to the source code of this file.
Functions | |
| int | M_read_list (int check_if_empty, int *num) |
| Read list of elements. | |
Variables | |
| int | nlist |
| struct list * | list |
Manage Library - Read list of 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 read_list.c.
Read list of elements.
Format:
| check_if_empty | TRUE for check if element is empty |
Definition at line 48 of file read_list.c.
References _, list::alias, list::desc, list::element, G_fatal_error(), G_getl(), G_gisbase(), G_realloc, G_store(), G_strip(), GPATH_MAX, M__add_element(), M__empty(), list::maindesc, list::mainelem, list::nelem, nlist, list::status, strcpy, and list::text.
Definition at line 24 of file read_list.c.
| int nlist |
Definition at line 23 of file read_list.c.
Referenced by M__add_element(), M_define_option(), M_do_list(), M_get_element(), M_get_list(), M_get_option_desc(), M_get_options(), M_read_list(), and M_show_elements().