2 ** $Id: rfc822hdr.h,v 1.3 2006/10/29 00:03:54 mrsam Exp $
8 ** Copyright 2001 Double Precision, Inc.
9 ** See COPYING for distribution information.
12 static const char rfc822hdr_h_rcsid
[]="$Id: rfc822hdr.h,v 1.3 2006/10/29 00:03:54 mrsam Exp $";
17 #include <sys/types.h>
34 #define rfc822hdr_init(h,s) \
35 do { memset((h), 0, sizeof(*h)); (h)->maxsize=(s); } while(0)
37 #define rfc822hdr_free(h) \
38 do { if ((h)->header) free ((h)->header); } while (0)
40 int rfc822hdr_read(struct rfc822hdr
*, FILE *, off_t
*, off_t
);
41 void rfc822hdr_fixname(struct rfc822hdr
*);
42 void rfc822hdr_collapse(struct rfc822hdr
*);