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