1 /* $NetBSD: mail_addr_crunch.h,v 1.2 2020/03/18 19:05:16 christos Exp $ */ 2 3 #ifndef _MAIL_ADDR_CRUNCH_H_INCLUDED_ 4 #define _MAIL_ADDR_CRUNCH_H_INCLUDED_ 5 6 /*++ 7 /* NAME 8 /* mail_addr_crunch 3h 9 /* SUMMARY 10 /* parse and canonicalize addresses, apply address extension 11 /* SYNOPSIS 12 /* #include <mail_addr_crunch.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 26 /* 27 * External interface. 28 */ 29 extern ARGV *mail_addr_crunch_opt(const char *, const char *, int, int); 30 31 /* 32 * The least-overhead form. 33 */ 34 #define mail_addr_crunch_ext_to_int(string, extension) \ 35 mail_addr_crunch_opt((string), (extension), MA_FORM_EXTERNAL, \ 36 MA_FORM_INTERNAL) 37 38 /* LICENSE 39 /* .ad 40 /* .fi 41 /* The Secure Mailer license must be distributed with this software. 42 /* AUTHOR(S) 43 /* Wietse Venema 44 /* IBM T.J. Watson Research 45 /* P.O. Box 704 46 /* Yorktown Heights, NY 10598, USA 47 /* 48 /* Wietse Venema 49 /* Google, Inc. 50 /* 111 8th Avenue 51 /* New York, NY 10011, USA 52 /*--*/ 53 54 #endif 55