GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
defs/manage.h
Go to the documentation of this file.
1 #ifndef GRASS_MANAGEDEFS_H
2 #define GRASS_MANAGEDEFS_H
3 
4 /* add_elem.c */
5 void M__add_element(const char *, const char *);
6 
7 /* do_copy.c */
8 int M_do_copy(int, const char *, const char *, const char *);
9 
10 /* do_list.c */
11 void M_do_list(int, const char *);
12 
13 /* do_remove.c */
14 int M_do_remove(int, const char *);
15 
16 /* do_rename.c */
17 int M_do_rename(int, const char *, const char *);
18 
19 /* empty.c */
20 int M__empty(char *);
21 
22 /* find.c */
23 const char *M_find(int, char *, const char *);
24 
25 /* get_len.c */
26 int M__get_description_len(int);
27 
28 /* list.c */
29 int M_get_element(const char *);
30 const struct list *M_get_list(int);
31 
32 /* read_list.c */
33 int M_read_list(int, int *);
34 
35 /* option.c */
36 struct Option* M_define_option(int, const char *, int);
37 const char *M_get_options(int);
38 const char *M_get_option_desc(int);
39 
40 /* show_elem.c */
41 void M_show_elements(void);
42 
43 /* sighold.c */
44 int M__hold_signals(int);
45 
46 #endif
void M_do_list(int, const char *)
List elements.
Definition: do_list.c:25
int M__hold_signals(int)
Hold signals.
Definition: sighold.c:24
const char * M_find(int, char *, const char *)
Find element in data base.
Definition: manage/find.c:29
void M__add_element(const char *, const char *)
Add element to the list.
Definition: add_elem.c:24
int M_do_remove(int, const char *)
Remove elements from data base.
Definition: do_remove.c:32
int M__get_description_len(int)
Get max length of element's description.
Definition: get_len.c:25
const char * M_get_options(int)
Get list of element types separated by comma.
Definition: option.c:71
int M_do_rename(int, const char *, const char *)
Rename element.
Definition: do_rename.c:34
int M__empty(char *)
Check if element is empty.
Definition: empty.c:28
int M_get_element(const char *)
Find element type by name.
Definition: manage/list.c:42
const struct list * M_get_list(int)
Get list structure.
Definition: manage/list.c:26
struct Option * M_define_option(int, const char *, int)
Define option for parser.
Definition: option.c:28
Definition: manage.h:4
Structure that stores option information.
Definition: gis.h:531
int M_do_copy(int, const char *, const char *, const char *)
Copy element.
Definition: do_copy.c:35
const char * M_get_option_desc(int)
Get list of element desc separated by comma.
Definition: option.c:106
int M_read_list(int, int *)
Read list of elements.
Definition: read_list.c:48
void M_show_elements(void)
Print element name/desc to stdout.
Definition: show_elem.c:22