Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / global / db_common.h
blobb2aa6fff5c6081d54de20b993210f025d87f7614
1 /* $NetBSD$ */
3 #ifndef _DB_COMMON_H_INCLUDED_
4 #define _DB_COMMON_H_INCLUDED_
6 /*++
7 /* NAME
8 /* db_common 3h
9 /* SUMMARY
10 /* utilities common to network based dictionaries
11 /* SYNOPSIS
12 /* #include "db_common.h"
13 /* DESCRIPTION
14 /* .nf
18 * External interface.
20 #include "dict.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);
34 /* LICENSE
35 /* .ad
36 /* .fi
37 /* The Secure Mailer license must be distributed with this software.
38 /* AUTHOR(S)
39 /* Wietse Venema
40 /* IBM T.J. Watson Research
41 /* P.O. Box 704
42 /* Yorktown Heights, NY 10598, USA
44 /* Liviu Daia
45 /* Institute of Mathematics of the Romanian Academy
46 /* P.O. BOX 1-764
47 /* RO-014700 Bucharest, ROMANIA
49 /* Jose Luis Tallon
50 /* G4 J.E. - F.I. - U.P.M.
51 /* Campus de Montegancedo, S/N
52 /* E-28660 Madrid, SPAIN
54 /* Victor Duchovni
55 /* Morgan Stanley
56 /*--*/
58 #endif