summaryrefslogtreecommitdiffstats
path: root/src/global/is_header.h
blob: e42957fc360ecc3f77f91c70b455db7c770f1fac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _IS_HEADER_H_INCLUDED_
#define _IS_HEADER_H_INCLUDED_

/*++
/* NAME
/*	is_header 3h
/* SUMMARY
/*	message header classification
/* SYNOPSIS
/*	#include <is_header.h>
/* DESCRIPTION
/* .nf

 /* External interface. */

#define IS_HEADER_NULL_TERMINATED	(-1)
#define is_header(str)	is_header_buf(str, IS_HEADER_NULL_TERMINATED)

extern ssize_t is_header_buf(const char *, ssize_t);

/* LICENSE
/* .ad
/* .fi
/*	The Secure Mailer license must be distributed with this software.
/* AUTHOR(S)
/*	Wietse Venema
/*	IBM T.J. Watson Research
/*	P.O. Box 704
/*	Yorktown Heights, NY 10598, USA
/*--*/

#endif