3 #ifndef _VALID_HOSTNAME_H_INCLUDED_
4 #define _VALID_HOSTNAME_H_INCLUDED_
12 /* #include <valid_hostname.h>
16 /* External interface */
18 #define VALID_HOSTNAME_LEN 255 /* RFC 1035 */
19 #define VALID_LABEL_LEN 63 /* RFC 1035 */
24 extern int valid_hostname(const char *, int);
25 extern int valid_hostaddr(const char *, int);
26 extern int valid_ipv4_hostaddr(const char *, int);
27 extern int valid_ipv6_hostaddr(const char *, int);
32 /* The Secure Mailer license must be distributed with this software.
35 /* IBM T.J. Watson Research
37 /* Yorktown Heights, NY 10598, USA