From: Ronny B. (fvacuum at domain yahoo.com)
Date: Mon 10 Jul 2000 - 20:06:34 IST
On Mon, Jul 10, 2000 at 09:58:59AM +0100, gormo at domain itc.nuigalway.ie wrote:
> Does anyone know of a nice lib for parsing files ie. for getting options
> from a .conf files?....I'm starting to run out of letters for command
> line options;)
I actually started work on something like this today - there are still
times when a plain testfile is necessary, and XML is too complicated
for many objects. I can barely imagine the horror of an XML-ified Mutt
configfile!
It's (going to be) a small library where you fill a struct with the
name of the file to load, call a function, deliver a list of tags to
look for and whether to read as plain text or values. Simple as that.
Very amiga-ish. C. Portable. Neat. Mine.
Anyway, how quickly do you need it? ;)
I've got the code I tossed up while eating my stable & healthy lunch
today, but it's got a few hours of hacking before an 0.0.1 goes on
my SourceForge account :/
-- O- Nny, enjoying programmer's arrogance
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:50 GMT