summaryrefslogtreecommitdiff
path: root/io/bin/generic_gpio/ini.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/bin/generic_gpio/ini.c')
-rw-r--r--io/bin/generic_gpio/ini.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/io/bin/generic_gpio/ini.c b/io/bin/generic_gpio/ini.c
index 2472c54..25ac0c9 100644
--- a/io/bin/generic_gpio/ini.c
+++ b/io/bin/generic_gpio/ini.c
@@ -1,5 +1,5 @@
#include "ini.h"
-int init (){;}
+
dictionary *_iniparser_load (const char *conf) {
return iniparser_load (conf);
}
@@ -15,3 +15,11 @@ char *_iniparser_getsecname (dictionary *d, int i) {
void _iniparser_freedict (dictionary *d) {
iniparser_freedict (d);
}
+
+char *_iniparser_getstring(dictionary * d, const char * key, char * def) {
+ return iniparser_getstring(d, key, def);
+}
+
+int _iniparser_getint(dictionary * d, const char * key, int notfound) {
+ return iniparser_getint(d, key, notfound);
+}