[Olsr-dev] config parser
Alexander Morlang
(spam-protected)
Thu Nov 27 06:46:36 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hannes Gredler schrieb:
> changed subject and thread.
>
> On Mon, Sep 08, 2008 at 12:41:16PM +0200, Henning Rogge wrote:
>
> | > BTW: If your generator generates lots of code, you very probably doing
> | > something wrong anyways. In my experience, the generators evolve into
> | > producing tables which drive normal functions.
> |
> | I think our config file parser is one of the BAD examples... it's always a
> | nightmare to understand what this thing is doing and how to add/change an
> | option.
>
> i 100% agree - one of the ideas floating around is to use libconfig
> as a drop-in replacemnt to make life easier for developers.
>
> http://www.hyperrealm.com/libconfig/libconfig.html
>
> the API appears to be well-structured and documentation is also good.
>
Also, Lorenz Schori already wrote some patches to use libuci, the lib
for the native config subsystem of OpwnWrt:
http://article.gmane.org/gmane.network.olsr.devel/1786
Besides the size it is already designed to connect to different
frontends like luci or snmp, a clear advantage on embedded systems.
> /hannes
>
Alex
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkuNDwACgkQhx2RbV7T5aGVxgCfeiBDLHm29LAVkuKIBVLJ4zzw
h4MAn2vhE0FVNbS87Yus2A0mgmNBTlAT
=Z3qo
-----END PGP SIGNATURE-----
More information about the Olsr-dev
mailing list