[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Many GGZ configurations are read and written using GGZConfIO. Formerly located in the ggzcore library, it is now part of libggz and consists of many ggz_conf_* functions. The details are again explained in the libggz documentation.
Usage example:
@verbatim int conf; char *value;
conf = ggz_conf_parse("/etc/ggz/games/mygame.conf", GGZ_CONF_RDONLY); if(conf != -1) { value = ggz_conf_read_string(conf, "SampleSection", "SampleKey", NULL); ggz_conf_close(-1); }