GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <grass/gis.h>
#include <grass/raster.h>
#include <grass/graphics.h>
#include "transport.h"
#include "pad.h"
Go to the source code of this file.
Functions | |
int | LOC_pad_create (const char *pad) |
int | LOC_pad_current (char *name) |
int | LOC_pad_delete (void) |
int | LOC_pad_invent (char *pad) |
int | LOC_pad_list (char ***list, int *count) |
int | LOC_pad_select (const char *pad) |
int | LOC_pad_append_item (const char *item, const char *value, int replace) |
int | LOC_pad_delete_item (const char *name) |
int | LOC_pad_get_item (const char *name, char ***list, int *count) |
int | LOC_pad_list_items (char ***list, int *count) |
int | LOC_pad_set_item (const char *name, const char *value) |
int LOC_pad_create | ( | const char * | pad | ) |
Definition at line 23 of file loc_pad.c.
References create_pad(), find_pad(), NO_MEMORY, NULL, and OK.
int LOC_pad_current | ( | char * | name | ) |
Definition at line 35 of file loc_pad.c.
References _pad_::name, NULL, and OK.
int LOC_pad_delete | ( | void | ) |
Definition at line 47 of file loc_pad.c.
References delete_pad(), _pad_::name, NULL, and OK.
int LOC_pad_delete_item | ( | const char * | name | ) |
Definition at line 108 of file loc_pad.c.
References delete_item(), NULL, and OK.
Definition at line 117 of file loc_pad.c.
References find_item(), G_store(), l, _item_::list, n, _list::next, NULL, OK, and _list::value.
int LOC_pad_invent | ( | char * | pad | ) |
Definition at line 60 of file loc_pad.c.
References invent_pad().
Definition at line 67 of file loc_pad.c.
References G_store(), l, n, _pad_::name, _pad_::next, and pad_list().
Definition at line 145 of file loc_pad.c.
References G_store(), _pad_::items, l, n, _item_::name, _item_::next, NULL, and OK.
int LOC_pad_select | ( | const char * | pad | ) |
Definition at line 87 of file loc_pad.c.
References find_pad(), NULL, and OK.
int LOC_pad_set_item | ( | const char * | name, |
const char * | value | ||
) |
Definition at line 167 of file loc_pad.c.
References append_item(), delete_item(), NO_MEMORY, NULL, and OK.