Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / trivial-rewrite / transport.h
blobc3a2d746c7f7279a65cda9af2c936a79c87171c3
1 /* $NetBSD$ */
3 /*++
4 /* NAME
5 /* transport 3h
6 /* SUMMARY
7 /* transport mapping
8 /* SYNOPSIS
9 /* #include "transport.h"
10 /* DESCRIPTION
11 /* .nf
14 * System library.
16 #include <time.h>
19 * Utility library.
21 #include <vstring.h>
24 * Global library.
26 #include <maps.h>
29 * External interface.
31 typedef struct TRANSPORT_INFO {
32 MAPS *transport_path;
33 VSTRING *wildcard_channel;
34 VSTRING *wildcard_nexthop;
35 int transport_errno;
36 time_t expire;
37 } TRANSPORT_INFO;
39 extern TRANSPORT_INFO *transport_pre_init(const char *, const char *);
40 extern void transport_post_init(TRANSPORT_INFO *);
41 extern int transport_lookup(TRANSPORT_INFO *, const char *, const char *, VSTRING *, VSTRING *);
42 extern void transport_free(TRANSPORT_INFO *);
44 /* LICENSE
45 /* .ad
46 /* .fi
47 /* The Secure Mailer license must be distributed with this software.
48 /* AUTHOR(S)
49 /* Wietse Venema
50 /* IBM T.J. Watson Research
51 /* P.O. Box 704
52 /* Yorktown Heights, NY 10598, USA
53 /*--*/