7 A Linux/Unix toolset and driver for Nokia mobile phones.
9 Released under the terms of the GNU GPL, see file COPYING for more details.
11 Header file for config file reader.
22 /* Structure definitions */
24 /* A linked list of key/value pairs */
27 struct CFG_Entry *next, *prev;
33 struct CFG_Header *next, *prev;
34 struct CFG_Entry *entries;
40 /* Function prototypes */
42 struct CFG_Header *CFG_ReadFile(char *filename);
43 char *CFG_Get(struct CFG_Header *cfg, char *section, char *key);
44 char *CFG_Set(struct CFG_Header *cfg, char *section, char *key,
46 int CFG_WriteFile(struct CFG_Header *cfg, char *filename);
50 int CFG_ReadConfig(char **model, char **port, char **initlength,
51 char **connection, char **bindir,
56 struct CFG_Header *CFG_FindGnokiirc();
60 #endif /* _CFGREADER_H */