Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 22:09:33 +1100
From:      Gautam Gopalakrishnan <ggop@madras.dyndns.org>
To:        Philip Schulz <ph.schulz@gmx.de>
Cc:        questions@freebsd.org
Subject:   Re: [OT] Configuration file parsing
Message-ID:  <20040112110933.GA8911@madras.dyndns.org>
In-Reply-To: <21321.1073904325@www46.gmx.net>
References:  <21321.1073904325@www46.gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 12, 2004 at 11:45:25AM +0100, Philip Schulz wrote:
> Hello!
> 
>  Let me apologize for asking an offtopic question. If you feel offended,
> please ignore this eMail.
> 
>  I'm currently working on a program which will be used in a closed company
> environment. The programm is written in C. For this program, I need to find
> a
> way of parsing a configuration file. I found a library which can do exactly
> what I need, it's GLib's lexical scanner [1]. However, it's licensed under
> the
> GPL, so I guess it won't work for me.
>  So my question: How can I easily parse a configuration file? Any pointers
> appreciated.

Guess for windows ini files, you could use:

http://freshmeat.net/projects/inifileparser/

Gautam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040112110933.GA8911>