GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
pad.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _list
struct  _item_
struct  _pad_


typedef struct _list LIST
typedef struct _item_ ITEM
typedef struct _pad_ PAD


PADpad_list (void)
PADfind_pad (const char *)
int delete_pad (PAD *)
int create_pad (const char *)
int append_item (PAD *, const char *, const char *, int)
int invent_pad (char *)
int delete_item (PAD *, const char *)
ITEMfind_item (PAD *, const char *)

Typedef Documentation

typedef struct _item_ ITEM
typedef struct _list LIST
typedef struct _pad_ PAD

Function Documentation

int append_item ( PAD ,
const char *  ,
const char *  ,
int create_pad ( const char *  )

Definition at line 167 of file pad.c.

References G_free(), G_store(), _pad_::items, _pad_::name, _pad_::next, NULL, and _pad_::prev.

Referenced by LIB_init(), LOC_pad_create(), and process_command().

int delete_item ( PAD ,
const char *   

Definition at line 113 of file pad.c.

References find_item(), _pad_::items, _item_::next, NULL, and _item_::prev.

Referenced by LOC_pad_delete_item(), LOC_pad_set_item(), and process_command().

int delete_pad ( PAD )

Definition at line 188 of file pad.c.

References G_free(), _pad_::items, _item_::next, and NULL.

Referenced by LOC_pad_delete(), and process_command().

ITEM* find_item ( PAD ,
const char *   
PAD* find_pad ( const char *  )

Definition at line 207 of file pad.c.

References _pad_::name, _pad_::next, and NULL.

Referenced by invent_pad(), LOC_pad_create(), LOC_pad_select(), and process_command().

int invent_pad ( char *  )

Definition at line 217 of file pad.c.

References find_pad(), NULL, and sprintf().

Referenced by LOC_pad_invent(), and process_command().

PAD* pad_list ( void  )

Definition at line 146 of file pad.c.

Referenced by LOC_pad_list(), and process_command().