16 #include <grass/gis.h> 
   65                                  const char *key, 
char value[], 
int n)
 
char * G_find_key_value(const char *key, const struct Key_Value *kv)
Find given key. 
int G_free_key_value(struct Key_Value *kv)
Free allocated Key_Value structure. 
int G_update_key_value_file(const char *file, const char *key, const char *value)
Update file, set up value for given key. 
int G_lookup_key_value_from_file(const char *file, const char *key, char value[], int n)
Look up for key in file. 
struct Key_Value * G_read_key_value_file(const char *file, int *stat)
Read key/values pairs from file. 
int G_write_key_value_file(const char *file, const struct Key_Value *kv, int *stat)
Write key/value pairs to file. 
int G_set_key_value(const char *key, const char *value, struct Key_Value *kv)
Set value for given key.