1 /* $NetBSD: mail_addr_map.h,v 1.2 2020/03/18 19:05:16 christos Exp $ */ 2 3 #ifndef _MAIL_ADDR_MAP_H_INCLUDED_ 4 #define _MAIL_ADDR_MAP_H_INCLUDED_ 5 6 /*++ 7 /* NAME 8 /* mail_addr_map 3h 9 /* SUMMARY 10 /* generic address mapping 11 /* SYNOPSIS 12 /* #include <mail_addr_map.h> 13 /* DESCRIPTION 14 /* .nf 15 16 /* 17 * Utility library. 18 */ 19 #include <argv.h> 20 21 /* 22 * Global library. 23 */ 24 #include <mail_addr_form.h> 25 #include <maps.h> 26 27 /* 28 * External interface. 29 */ 30 extern ARGV *mail_addr_map_opt(MAPS *, const char *, int, int, int, int); 31 32 /* The least-overhead form. */ 33 #define mail_addr_map_internal(path, address, propagate) \ 34 mail_addr_map_opt((path), (address), (propagate), \ 35 MA_FORM_INTERNAL, MA_FORM_EXTERNAL, MA_FORM_INTERNAL) 36 37 /* LICENSE 38 /* .ad 39 /* .fi 40 /* The Secure Mailer license must be distributed with this software. 41 /* AUTHOR(S) 42 /* Wietse Venema 43 /* IBM T.J. Watson Research 44 /* P.O. Box 704 45 /* Yorktown Heights, NY 10598, USA 46 /* 47 /* Wietse Venema 48 /* Google, Inc. 49 /* 111 8th Avenue 50 /* New York, NY 10011, USA 51 /*--*/ 52 53 #endif 54