diff options
| author | Manuel Traut <manut@mecka.net> | 2013-01-15 00:41:33 +0100 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2013-01-15 00:41:33 +0100 |
| commit | 3dfb4cefed51c9cc4dd5879bfe63cc835aaf1568 (patch) | |
| tree | 37c5eaed7e9803b98250a2113e9278c2a313c1e2 /io/bin/generic_gpio/ini.h | |
| parent | f8b3b3b854ad05329c73d5b98fa24916a270de65 (diff) | |
add libiniparser c++ library wrapper
needed to use the functions of the c library
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'io/bin/generic_gpio/ini.h')
| -rw-r--r-- | io/bin/generic_gpio/ini.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 <iniparser.h> +#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 |
