GRASS Programmer's Manual  6.4.3(2013)-r
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
pad.h
Go to the documentation of this file.
1 
2 #ifndef _PAD_H_
3 #define _PAD_H_
4 
5 typedef struct _list
6 {
7  char *value;
8  struct _list *next;
9 } LIST;
10 
11 typedef struct _item_
12 {
13  char *name;
15  struct _item_ *next, *prev;
16 } ITEM;
17 
18 typedef struct _pad_
19 {
20  char *name;
22  struct _pad_ *next, *prev;
23 } PAD;
24 
25 PAD *pad_list(void);
26 PAD *find_pad(const char *);
27 int delete_pad(PAD *);
28 int create_pad(const char *);
29 int append_item(PAD *, const char *, const char *, int);
30 int invent_pad(char *);
31 int delete_item(PAD *, const char *);
32 ITEM *find_item(PAD *, const char *);
33 
34 #endif /* _PAD_H_ */