Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / global / mkmap_proxy.c
blobbd4dd60e05b1f13e20286dbf1c3fac622f8cd64b
1 /* $NetBSD$ */
3 /*++
4 /* NAME
5 /* mkmap_proxy 3
6 /* SUMMARY
7 /* create or proxied database
8 /* SYNOPSIS
9 /* #include <mkmap.h>
11 /* MKMAP *mkmap_proxy_open(path)
12 /* const char *path;
13 /* DESCRIPTION
14 /* This module implements support for updating proxy databases.
16 /* mkmap_proxy_open() is a proxymap-specific helper for the
17 /* more general mkmap_open() routine.
19 /* All errors are fatal.
20 /* SEE ALSO
21 /* dict_proxy(3), proxy client interface.
22 /* LICENSE
23 /* .ad
24 /* .fi
25 /* The Secure Mailer license must be distributed with this software.
26 /* AUTHOR(S)
27 /* Wietse Venema
28 /* IBM T.J. Watson Research
29 /* P.O. Box 704
30 /* Yorktown Heights, NY 10598, USA
31 /*--*/
33 /* System library. */
35 #include <sys_defs.h>
37 /* Utility library. */
39 #include <mymalloc.h>
40 #include <dict_proxy.h>
42 /* Application-specific. */
44 #include "mkmap.h"
46 /* mkmap_proxy_open - create or open database */
48 MKMAP *mkmap_proxy_open(const char *unused_path)
50 MKMAP *mkmap = (MKMAP *) mymalloc(sizeof(*mkmap));
53 * Fill in the generic members.
55 mkmap->open = dict_proxy_open;
56 mkmap->after_open = 0;
57 mkmap->after_close = 0;
59 return (mkmap);