GRASS Programmer's Manual  6.4.2(2012)
pad.h
Go to the documentation of this file.
00001 
00002 #ifndef _PAD_H_
00003 #define _PAD_H_
00004 
00005 typedef struct _list
00006 {
00007     char *value;
00008     struct _list *next;
00009 } LIST;
00010 
00011 typedef struct _item_
00012 {
00013     char *name;
00014     LIST *list;
00015     struct _item_ *next, *prev;
00016 } ITEM;
00017 
00018 typedef struct _pad_
00019 {
00020     char *name;
00021     ITEM *items;
00022     struct _pad_ *next, *prev;
00023 } PAD;
00024 
00025 PAD *pad_list(void);
00026 PAD *find_pad(const char *);
00027 int delete_pad(PAD *);
00028 int create_pad(const char *);
00029 int append_item(PAD *, const char *, const char *, int);
00030 int invent_pad(char *);
00031 int delete_item(PAD *, const char *);
00032 ITEM *find_item(PAD *, const char *);
00033 
00034 #endif /* _PAD_H_ */
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines