3 #ifndef _HEADER_TOKEN_H_INCLUDED_
4 #define _HEADER_TOKEN_H_INCLUDED_
12 /* #include "header_token.h"
22 * HEADER header parser tokens. Specials and controls are represented by
23 * themselves. Character pointers point to substrings in a token buffer.
25 typedef struct HEADER_TOKEN
{
26 int type
; /* see below */
28 const char *value
; /* just a pointer, not a copy */
29 ssize_t offset
; /* index into token buffer */
30 } u
; /* indent beats any alternative */
33 #define HEADER_TOK_TOKEN 256
34 #define HEADER_TOK_QSTRING 257
36 extern ssize_t
header_token(HEADER_TOKEN
*, ssize_t
, VSTRING
*, const char **, const char *, int);
41 /* The Secure Mailer license must be distributed with this software.
44 /* IBM T.J. Watson Research
46 /* Yorktown Heights, NY 10598, USA