1 /* $NetBSD: valid_mailhost_addr.h,v 1.1.1.1 2009/06/23 10:08:48 tron Exp $ */ 2 3 #ifndef _VALID_MAILHOST_ADDR_H_INCLUDED_ 4 #define _VALID_MAILHOST_ADDR_H_INCLUDED_ 5 6 /*++ 7 /* NAME 8 /* valid_mailhost_addr 3h 9 /* SUMMARY 10 /* mailhost address syntax validation 11 /* SYNOPSIS 12 /* #include <valid_mailhost_addr.h> 13 /* DESCRIPTION 14 /* .nf 15 16 /* 17 * Utility library. 18 */ 19 #include <valid_hostname.h> 20 21 /* 22 * External interface 23 */ 24 #define IPV6_COL "IPv6:" /* RFC 2821 */ 25 26 extern const char *valid_mailhost_addr(const char *, int); 27 extern int valid_mailhost_literal(const char *, int); 28 29 /* LICENSE 30 /* .ad 31 /* .fi 32 /* The Secure Mailer license must be distributed with this software. 33 /* AUTHOR(S) 34 /* Wietse Venema 35 /* IBM T.J. Watson Research 36 /* P.O. Box 704 37 /* Yorktown Heights, NY 10598, USA 38 /*--*/ 39 40 #endif 41