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

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 (  ) 

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 
)

Definition at line 102 of file key_value1.c.

References NULL.

Referenced by G__check_fp_type(), G_ask_proj_name(), G_compare_projections(), G_get_datumparams_from_projinfo(), G_get_ellipsoid_parameters(), and G_lookup_key_value_from_file().

int G_free_key_value ( struct Key_Value *  kv  ) 

Definition at line 112 of file key_value1.c.

References G_free().

Referenced by G__check_fp_type(), G__write_fp_format(), G_database_datum_name(), G_fread_key_value(), G_lookup_key_value_from_file(), and G_update_key_value_file().

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_malloc(), and NULL.

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


Generated on Fri Nov 21 11:02:27 2008 for GRASS by  doxygen 1.5.1