1 /*	$NetBSD: lex_822.h,v 1.1.1.1 2009/06/23 10:08:46 tron Exp $	*/
2 
3 #ifndef _LEX_822_H_INCLUDED_
4 #define _LEX_822_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	lex_822 3h
9 /* SUMMARY
10 /*	RFC822 lexicals
11 /* SYNOPSIS
12 /*	#include <lex_822.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * The predicate macros.
18   */
19 #define IS_SPACE_TAB(ch)	(ch == ' ' || ch == '\t')
20 #define IS_SPACE_TAB_CR_LF(ch)	(IS_SPACE_TAB(ch) || ch == '\r' || ch == '\n')
21 
22  /*
23   * Special characters as per RFC 822.
24   */
25 #define LEX_822_SPECIALS	"()<>@,;:\\\".[]"
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
39