]>
Commit | Line | Data |
---|---|---|
2c5db955 CP |
1 | /* config.h */ |
2 | ||
3 | #ifndef __CONFIG_H | |
4 | #define __CONFIG_H | |
5 | ||
6 | #include "../lib/array.h" | |
7 | #include "../lib/sstring.h" | |
8 | ||
9 | void freeconfig(); | |
10 | void initconfig(char *filename); | |
11 | void dumpconfig(); | |
12 | void rehashconfig(); | |
13 | array *getconfigitems(char *module, char *key); | |
14 | sstring *getconfigitem(char *module, char *key); | |
15 | sstring *getcopyconfigitem(char *module, char *key, char *defaultvalue, int len); | |
16 | ||
17 | #endif |