3 #ifndef _DB_COMMON_H_INCLUDED_
4 #define _DB_COMMON_H_INCLUDED_
10 /* utilities common to network based dictionaries
12 /* #include "db_common.h"
21 #include "string_list.h"
23 typedef void (*db_quote_callback_t
)(DICT
*, const char *, VSTRING
*);
25 extern int db_common_parse(DICT
*, void **, const char *, int);
26 extern void db_common_parse_domain(CFG_PARSER
*, void *);
27 extern int db_common_dict_partial(void *);
28 extern int db_common_expand(void *, const char *, const char *,
29 const char *, VSTRING
*, db_quote_callback_t
);
30 extern int db_common_check_domain(void *, const char *);
31 extern void db_common_free_ctx(void *);
32 extern void db_common_sql_build_query(VSTRING
*query
, CFG_PARSER
*parser
);
37 /* The Secure Mailer license must be distributed with this software.
40 /* IBM T.J. Watson Research
42 /* Yorktown Heights, NY 10598, USA
45 /* Institute of Mathematics of the Romanian Academy
47 /* RO-014700 Bucharest, ROMANIA
50 /* G4 J.E. - F.I. - U.P.M.
51 /* Campus de Montegancedo, S/N
52 /* E-28660 Madrid, SPAIN