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.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 io/bin/generic_gpio/ini.h (limited to 'io/bin/generic_gpio/ini.h') diff --git a/io/bin/generic_gpio/ini.h b/io/bin/generic_gpio/ini.h new file mode 100644 index 0000000..accc454 --- /dev/null +++ b/io/bin/generic_gpio/ini.h @@ -0,0 +1,14 @@ +#include +#define GPIO_CONFIG "gpio.conf" + +#ifdef __cplusplus +extern "C" { +#endif +int init (void); +dictionary * _iniparser_load (const char *conf); +int _iniparser_getnsec (dictionary *d); +char *_iniparser_getsecname (dictionary *d, int i); +void _iniparser_freedict (dictionary *d); +#ifdef __cplusplus +} +#endif -- cgit v1.2.3