I've wrote a small preferences system. It's currently a standalone
thing, with a test main().
I'm including it here. You may also browse the unpacked files on
http://mazinger.technisys.com.ar/pruebas-nick/prefs/ (this is my working
dir, it might have a broken version =) ). The files are:
prefs.h: The API.
prefs.c: The implementation.
test.c: The demo.
It can write the preferences to a simple XML file, it still can't read
it back.
What do you think?
|