GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-d6dec75dd4
|
Go to the source code of this file.
Functions | |
void | G_update_key_value_file (const char *file, const char *key, const char *value) |
Update file, set up value for given key. More... | |
int | G_lookup_key_value_from_file (const char *file, const char *key, char value[], int n) |
Look up for key in file. More... | |
Key_Value management.
(C) 2001-2014 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file key_value4.c.
int G_lookup_key_value_from_file | ( | const char * | file, |
const char * | key, | ||
char | value[], | ||
int | n | ||
) |
Look up for key in file.
[in] | file | filename |
[in] | key | key to be found in file |
[out] | value | value for key |
[in] | n | number of characters to be copied |
Definition at line 48 of file key_value4.c.
Referenced by GPJ_osr_to_grass().
void G_update_key_value_file | ( | const char * | file, |
const char * | key, | ||
const char * | value | ||
) |
Update file, set up value for given key.
[in] | file | filename to be updated |
[in] | key | key value |
[in] | value | value to be updated |
Definition at line 26 of file key_value4.c.