From 3dfb4cefed51c9cc4dd5879bfe63cc835aaf1568 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Tue, 15 Jan 2013 00:41:33 +0100 Subject: add libiniparser c++ library wrapper needed to use the functions of the c library Signed-off-by: Manuel Traut --- io/bin/generic_gpio/ini.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 io/bin/generic_gpio/ini.c (limited to 'io/bin/generic_gpio/ini.c') diff --git a/io/bin/generic_gpio/ini.c b/io/bin/generic_gpio/ini.c new file mode 100644 index 0000000..2472c54 --- /dev/null +++ b/io/bin/generic_gpio/ini.c @@ -0,0 +1,17 @@ +#include "ini.h" +int init (){;} +dictionary *_iniparser_load (const char *conf) { + return iniparser_load (conf); +} + +int _iniparser_getnsec (dictionary *d) { + return iniparser_getnsec (d); +} + +char *_iniparser_getsecname (dictionary *d, int i) { + return iniparser_getsecname (d, i); +} + +void _iniparser_freedict (dictionary *d) { + iniparser_freedict (d); +} -- cgit v1.2.3