RE: config file parsing



Hi,

Hi :)


I'm fairly new to the world of *nix programming conventions; is there
any
*community-standard* way to parse configuration files? 

Not a cross platform method (that I know of).  I recently had this
problem when porting my application to Windows.  I based my config
parser on the XMMS config file parser (similar to INI file setup).  You
can see it in CVS here:
http://cvs.gnome.org/bonsai/cvsblame.cgi?file=gnome-jabber%2Fsrc/gj_conf
ig_handler.c&rev=&root=/cvs/gnome

If you use Gnome, you can use GConf and I would recommend it if Gnome is
the only target for release:
http://developer.gnome.org/doc/API/2.0/gconf/GConfClient.html


Regards,
Martyn 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]