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;
38 /* Function prototypes */
40 struct CFG_Header *CFG_ReadFile(char *filename);
41 char *CFG_Get(struct CFG_Header *cfg, char *section, char *key);
42 char *CFG_Set(struct CFG_Header *cfg, char *section, char *key,
44 int CFG_WriteFile(struct CFG_Header *cfg, char *filename);
46 int CFG_ReadConfig(char **model, char **port, char **initlength,
47 char **connection, char **bindir, char **synchronizetime,
50 struct CFG_Header *CFG_FindGnokiirc();
52 #endif /* _CFGREADER_H */