aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ini.h
diff options
context:
space:
mode:
authorSven Moritz Hallberg <pesco@khjk.org>2009-03-12 20:33:28 +0100
committerSven Moritz Hallberg <pesco@khjk.org>2009-03-12 20:33:28 +0100
commit673a54c5a78afd1dd41b4cd8811df5ab65042583 (patch)
treebffaa961139ac2be20f0875ef0ed37c87d6b18a9 /lib/ini.h
parent823de9d44f262ea2364ac8ec6a1e18e0f7dab658 (diff)
parent9e768da723b4a770967efa0d4dcaf58ccef8917f (diff)
pretty blind try at merging in the latest trunk
Diffstat (limited to 'lib/ini.h')
-rw-r--r--lib/ini.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/ini.h b/lib/ini.h
index 5eab472b..6ae0bde5 100644
--- a/lib/ini.h
+++ b/lib/ini.h
@@ -28,12 +28,14 @@
typedef struct
{
- FILE *fp;
int line;
- char c_section[MAX_STRING];
- char section[MAX_STRING];
- char key[MAX_STRING];
- char value[MAX_STRING];
+ char *c_section;
+ char *section;
+ char *key;
+ char *value;
+ int size;
+ char *cur, *tok;
+ char file[];
} ini_t;
ini_t *ini_open( char *file );