46 for (n = 0; n < kv->
nitems; n++)
47 if (strcmp(
key, kv->
key[n]) == 0)
59 size = kv->
nalloc *
sizeof(
char *);
92 for (n = 0; n < kv->
nitems; n++)
93 if (strcmp(
key, kv->
key[n]) == 0)
111 for (n = 0; n < kv->
nitems; n++) {
void G_zero(void *, int)
Zero out a buffer, buf, of length i.
void G_free(void *)
Free allocated memory.
char * G_store(const char *)
Copy string to allocated memory.
void G_free_key_value(struct Key_Value *kv)
Free allocated Key_Value structure.
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.
const char * G_find_key_value(const char *key, const struct Key_Value *kv)
Find given key (case sensitive)