6 #include <grass/raster.h>
7 #include <grass/graphics.h>
42 strcpy(name, curpad->
name);
51 else if (*curpad->
name == 0)
78 *list = l = G_malloc(n *
sizeof(
char *));
131 for (p = item->
list, n = 0; p; p = p->
next)
136 *list = l = G_malloc(n *
sizeof(
char *));
138 for (p = item->
list, n = 0; p; p = p->
next)
154 for (p = curpad->
items, n = 0; p; p = p->
next)
158 *list = l = G_malloc(n *
sizeof(
char *));
160 for (p = curpad->
items, n = 0; p; p = p->
next)
char * G_store(const char *s)
Copy string to allocated memory.
int LOC_pad_current(char *name)
int LOC_pad_delete_item(const char *name)
int invent_pad(char *name)
ITEM * find_item(PAD *pad, const char *name)
int LOC_pad_set_item(const char *name, const char *value)
int LOC_pad_select(const char *pad)
int LOC_pad_list_items(char ***list, int *count)
int LOC_pad_get_item(const char *name, char ***list, int *count)
int LOC_pad_list(char ***list, int *count)
int LOC_pad_append_item(const char *item, const char *value, int replace)
PAD * find_pad(const char *name)
int LOC_pad_invent(char *pad)
int delete_item(PAD *pad, const char *name)
int LOC_pad_create(const char *pad)
int create_pad(const char *name)
int append_item(PAD *pad, const char *name, const char *value, int replace)