1 /* $NetBSD: is_header.h,v 1.1.1.1 2009/06/23 10:08:46 tron Exp $ */ 2 3 #ifndef _IS_HEADER_H_INCLUDED_ 4 #define _IS_HEADER_H_INCLUDED_ 5 6 /*++ 7 /* NAME 8 /* is_header 3h 9 /* SUMMARY 10 /* message header classification 11 /* SYNOPSIS 12 /* #include <is_header.h> 13 /* DESCRIPTION 14 /* .nf 15 16 /* External interface. */ 17 18 #define IS_HEADER_NULL_TERMINATED (-1) 19 #define is_header(str) is_header_buf(str, IS_HEADER_NULL_TERMINATED) 20 21 extern ssize_t is_header_buf(const char *, ssize_t); 22 23 /* LICENSE 24 /* .ad 25 /* .fi 26 /* The Secure Mailer license must be distributed with this software. 27 /* AUTHOR(S) 28 /* Wietse Venema 29 /* IBM T.J. Watson Research 30 /* P.O. Box 704 31 /* Yorktown Heights, NY 10598, USA 32 /*--*/ 33 34 #endif 35