RE: config file parsing
- From: <martyn 2 russell bt com>
- To: <bruce tesla rcub bg ac yu>, <gtk-app-devel-list gnome org>
- Subject: RE: config file parsing
- Date: Mon, 23 Feb 2004 08:52:02 -0000
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]