3 #ifndef _CFG_PARSER_H_INCLUDED_
4 #define _CFG_PARSER_H_INCLUDED_
10 /* configuration parser utilities
12 /* #include "cfg_parser.h"
20 typedef struct CFG_PARSER
{
22 char *(*get_str
) (const struct CFG_PARSER
*, const char *, const char *,
24 int (*get_int
) (const struct CFG_PARSER
*, const char *, int, int, int);
25 int (*get_bool
) (const struct CFG_PARSER
*, const char *, int);
28 extern CFG_PARSER
*cfg_parser_alloc(const char *);
29 extern char *cfg_get_str(const CFG_PARSER
*, const char *, const char *,
31 extern int cfg_get_int(const CFG_PARSER
*, const char *, int, int, int);
32 extern int cfg_get_bool(const CFG_PARSER
*, const char *, int);
33 extern CFG_PARSER
*cfg_parser_free(CFG_PARSER
*);
38 /* The Secure Mailer license must be distributed with this software.
41 /* IBM T.J. Watson Research
43 /* Yorktown Heights, NY 10598, USA
46 /* Institute of Mathematics of the Romanian Academy
48 /* RO-014700 Bucharest, ROMANIA