[OT] Configuration file parsing

Gautam Gopalakrishnan ggop at madras.dyndns.org
Mon Jan 12 03:10:55 PST 2004


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



More information about the freebsd-questions mailing list