key_value1.c File Reference

#include <string.h>
#include <stdlib.h>
#include <grass/gis.h>

Include dependency graph for key_value1.c:

Go to the source code of this file.

Functions

struct Key_Value * G_create_key_value ()
int G_set_key_value (const char *key, const char *value, struct Key_Value *kv)
char * G_find_key_value (char *key, struct Key_Value *kv)
int G_free_key_value (struct Key_Value *kv)


Function Documentation

struct Key_Value* G_create_key_value (  )  [read]

Definition at line 6 of file key_value1.c.

References G_malloc(), and NULL.

Referenced by G__write_fp_format(), and G_fread_key_value().

char* G_find_key_value ( char *  key,
struct Key_Value *  kv 
)

int G_free_key_value ( struct Key_Value *  kv  ) 

int G_set_key_value ( const char *  key,
const char *  value,
struct Key_Value *  kv 
)

Definition at line 28 of file key_value1.c.

References G_free(), G_malloc(), G_realloc(), and NULL.

Referenced by G__write_fp_format(), G_fread_key_value(), and G_update_key_value_file().


Generated on Sun Apr 6 17:32:21 2008 for GRASS by  doxygen 1.5.5