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 */ 29typedef struct TRANSPORT_INFO { 30 MAPS *transport_path; 31 VSTRING *wildcard_channel; 32 VSTRING *wildcard_nexthop; 33 int wildcard_errno; 34 time_t expire; 35} TRANSPORT_INFO; 36 37extern TRANSPORT_INFO *transport_pre_init(const char *, const char *); 38extern void transport_post_init(TRANSPORT_INFO *); 39extern int transport_lookup(TRANSPORT_INFO *, const char *, const char *, VSTRING *, VSTRING *); 40extern 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/*--*/ 52