/*
 * Copyright (c) 2004 Sendmail, Inc. and its suppliers.
 *      All rights reserved.
 *
 * By using this file, you agree to the terms and conditions set
 * forth in the LICENSE file which can be found at the top level of
 * the sendmail distribution.
 *
 *	$Id: nameok.h,v 1.3 2006/12/27 23:41:09 ca Exp $
 */

#ifndef DNS_H
#define DNS_H 1

#include "sm/generic.h"
#include "sm/types.h"

#define DNS__OK		0x0001u	/* _ is ok in domain */
#define DNS_HYPHENS	0x0002u	/* multiple hyphens are ok */
#define DNS_DOT		0x0004u	/* just "." is ok */

bool	validdnsdomain(const uchar *_dn, uint _flags);

#endif /* DNS_H */


syntax highlighted by Code2HTML, v. 0.9.1