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