[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.3.1 GGZConfIO (ini-Style)

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); }



This document was generated by Abel Cheung on December, 2 2004 using texi2html