[Top][All Lists]

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

[GNUnet-developers] Config file parsing

From: Glenn McGrath
Subject: [GNUnet-developers] Config file parsing
Date: Mon, 1 Jul 2002 14:30:06 +1000

I would like make gnunet compilable against gnutls instead of openssl,
however currently gnunet uses openssl ANS1 functions to parse its config

I would like to seperate the config file parsing functions from the ssl
library, i was prepared to write custom config file parsing code, however
looking around i found the dot.conf library, which does everything needed.

The major difference would be that libdotconf uses apache style config
file, which doesnt use an equals sign to seperate the field name from its
field value, just whitespace.

I think its good to use small (libdotconf is 17kB) specific libraries such
as this, code re-use etc.

I have made a standalone app that demonstrates (in part) how libdotconf
could be used with gnunet, it provides the same external functions from
configuration.c does, so it should drop in easily, its at

If there arent any major objections to the idea i will work on a patch for
GNUnet, but i would appreciate a bit of feedback before i take it much
further incase im wasting my time.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]