33 for (i = 0; i <
list->n_values; i++) {
34 if (
list->values[i]->name)
36 if (
list->values[i]->mapset)
74 for (i = 0; i <
list->n_values; i++) {
75 if (
list->values[i]->name)
77 if (
list->values[i]->mapset)
86 list->alloc_values = 0;
105 if (
list->n_values ==
list->alloc_values) {
106 size_t size = (
list->n_values + 1000) *
sizeof(
tgisMap *);
110 list->alloc_values =
list->n_values + 1000;
void G_free(void *)
Free allocated memory.
void G_set_timestamp(struct TimeStamp *, const struct DateTime *)
void G_set_timestamp_range(struct TimeStamp *, const struct DateTime *, const struct DateTime *)
char * G_store(const char *)
Copy string to allocated memory.
tgisMapList * tgis_new_map_list(void)
Return a new integer list.
void tgis_free_map_list(tgisMapList *list)
Free allocated memory of an integer list.
void tgis_init_map_list(tgisMapList *list)
Init a tgisMapList and free allocated memory.
void tgis_map_list_add(tgisMapList *list, tgisMap *map)
Add a map to tgisMapList.
void tgis_map_list_insert(tgisMapList *list, char *name, char *mapset, struct TimeStamp *ts)
Insert map information into tgisMapList.
List of tgisMap struct's.