GRASS GIS 8 Programmer's Manual 8.4.1(2025)-45ca3179ab
|
Manage Library - Define option for parser. More...
#include <string.h>
#include <grass/gis.h>
#include <grass/glocale.h>
#include "manage_local_proto.h"
Go to the source code of this file.
Functions | |
struct Option * | M_define_option (int n, const char *desc, int multiple) |
Define option for parser. | |
const char * | M_get_options (int do_all) |
Get list of element types separated by comma. | |
const char * | M_get_option_desc (int do_all) |
Get list of element desc separated by comma. | |
Manage Library - Define option for parser.
(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 option.c.
struct Option * M_define_option | ( | int | n, |
const char * | desc, | ||
int | multiple ) |
Define option for parser.
n | element id |
Definition at line 28 of file option.c.
References G_asprintf(), G_define_option(), list, nlist, and NULL.
const char * M_get_option_desc | ( | int | do_all | ) |