1 /*	$NetBSD: rec_streamlf.h,v 1.1.1.1 2009/06/23 10:08:47 tron Exp $	*/
2 
3 #ifndef _REC_STREAMLF_H_INCLUDED_
4 #define _REC_STREAMLF_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	rec_streamlf 3h
9 /* SUMMARY
10 /*	record interface to stream-lf files
11 /* SYNOPSIS
12 /*	#include <rec_streamlf.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * Utility library.
18   */
19 #include <vstring.h>
20 #include <vstream.h>
21 
22  /*
23   * Global library.
24   */
25 #include <rec_type.h>
26 
27  /*
28   * External interface.
29   */
30 extern int rec_streamlf_get(VSTREAM *, VSTRING *, int);
31 extern int rec_streamlf_put(VSTREAM *, int, const char *, int);
32 
33 #define REC_STREAMLF_PUT_BUF(s, t, b) \
34 	rec_streamlf_put((s), (t), vstring_str(b), VSTRING_LEN(b))
35 
36 /* LICENSE
37 /* .ad
38 /* .fi
39 /*	The Secure Mailer license must be distributed with this software.
40 /* AUTHOR(S)
41 /*	Wietse Venema
42 /*	IBM T.J. Watson Research
43 /*	P.O. Box 704
44 /*	Yorktown Heights, NY 10598, USA
45 /*--*/
46 
47 #endif
48