Postfix3.3.1
transport.h
[詳解]
1 /*++
2 /* NAME
3 /* transport 3h
4 /* SUMMARY
5 /* transport mapping
6 /* SYNOPSIS
7 /* #include "transport.h"
8 /* DESCRIPTION
9 /* .nf
10 
11  /*
12  * System library.
13  */
14 #include <time.h>
15 
16  /*
17  * Utility library.
18  */
19 #include <vstring.h>
20 
21  /*
22  * Global library.
23  */
24 #include <maps.h>
25 
26  /*
27  * External interface.
28  */
29 typedef struct TRANSPORT_INFO {
34  time_t expire;
36 
37 extern TRANSPORT_INFO *transport_pre_init(const char *, const char *);
38 extern void transport_post_init(TRANSPORT_INFO *);
39 extern int transport_lookup(TRANSPORT_INFO *, const char *, const char *, VSTRING *, VSTRING *);
40 extern void transport_free(TRANSPORT_INFO *);
41 
42 /* LICENSE
43 /* .ad
44 /* .fi
45 /* The Secure Mailer license must be distributed with this software.
46 /* AUTHOR(S)
47 /* Wietse Venema
48 /* IBM T.J. Watson Research
49 /* P.O. Box 704
50 /* Yorktown Heights, NY 10598, USA
51 /*--*/
TRANSPORT_INFO * transport_pre_init(const char *, const char *)
Definition: transport.c:99
int transport_lookup(TRANSPORT_INFO *, const char *, const char *, VSTRING *, VSTRING *)
Definition: transport.c:245
VSTRING * wildcard_nexthop
Definition: transport.h:32
MAPS * transport_path
Definition: transport.h:30
Definition: maps.h:22
int wildcard_errno
Definition: transport.h:33
void transport_free(TRANSPORT_INFO *)
Definition: transport.c:125
struct TRANSPORT_INFO TRANSPORT_INFO
time_t expire
Definition: transport.h:34
VSTRING * wildcard_channel
Definition: transport.h:31
void transport_post_init(TRANSPORT_INFO *)
Definition: transport.c:117