45 for (n = 0; n < kv->
nitems; n++)
46 if (strcmp(key, kv->
key[n]) == 0)
58 size = kv->
nalloc *
sizeof(
char *);
91 for (n = 0; n < kv->
nitems; n++)
92 if (strcmp(key, kv->
key[n]) == 0)
110 for (n = 0; n < kv->
nitems; n++) {
const char * G_find_key_value(const char *key, const struct Key_Value *kv)
Find given key (case sensitive)
void G_free(void *)
Free allocated memory.
void G_free_key_value(struct Key_Value *kv)
Free allocated Key_Value structure.
void G_zero(void *, int)
Zero out a buffer, buf, of length i.
char * G_store(const char *)
Copy string to allocated memory.
void G_set_key_value(const char *key, const char *value, struct Key_Value *kv)
Set value for given key.
struct Key_Value * G_create_key_value(void)
Allocate and initialize Key_Value structure.