Expand PMF_FN_* macros.
[netbsd-mini2440.git] / external / ibm-public / postfix / dist / src / global / rec_streamlf.h
blobc3652969adf5c051a928b2bafa676a47fb41ced6
1 /* $NetBSD$ */
3 #ifndef _REC_STREAMLF_H_INCLUDED_
4 #define _REC_STREAMLF_H_INCLUDED_
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
17 * Utility library.
19 #include <vstring.h>
20 #include <vstream.h>
23 * Global library.
25 #include <rec_type.h>
28 * External interface.
30 extern int rec_streamlf_get(VSTREAM *, VSTRING *, int);
31 extern int rec_streamlf_put(VSTREAM *, int, const char *, int);
33 #define REC_STREAMLF_PUT_BUF(s, t, b) \
34 rec_streamlf_put((s), (t), vstring_str(b), VSTRING_LEN(b))
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 /*--*/
47 #endif