1 #ifndef GRASS_MANAGEDEFS_H
2 #define GRASS_MANAGEDEFS_H
8 int M_do_copy(
int,
const char *,
const char *,
const char *);
23 const char *
M_find(
int,
char *,
const char *);
const struct list * M_get_list(int)
Get list structure.
const char * M_find(int, char *, const char *)
Find element in data base.
int M__get_description_len(int)
Get max length of element's description.
int M__hold_signals(int)
Hold signals.
int M_read_list(int, int *)
Read list of elements.
int M_do_remove(int, const char *)
Remove elements from data base.
struct Option * M_define_option(int, const char *, int)
Define option for parser.
int M__empty(char *)
Check if element is empty.
int M_get_element(const char *)
Find element type by name.
const char * M_get_option_desc(int)
Get list of element desc separated by comma.
void M_do_list(int, const char *)
List elements.
int M_do_copy(int, const char *, const char *, const char *)
Copy element.
void M_show_elements(void)
Print element name/desc to stdout.
int M_do_rename(int, const char *, const char *)
Rename element.
void M__add_element(const char *, const char *)
Add element to the list.
const char * M_get_options(int)
Get list of element types separated by comma.
Structure that stores option information.