xref: /netbsd-src/external/ibm-public/postfix/dist/src/util/readlline.h (revision e89934bbf778a6d6d6894877c4da59d0c7835b0f)
1 /*	$NetBSD: readlline.h,v 1.2 2017/02/14 01:16:49 christos Exp $	*/
2 
3 #ifndef _READLINE_H_INCLUDED_
4 #define _READLINE_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	readlline 3h
9 /* SUMMARY
10 /*	read logical line
11 /* SYNOPSIS
12 /*	#include <readlline.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * Utility library.
18   */
19 #include <vstream.h>
20 #include <vstring.h>
21 
22  /*
23   * External interface.
24   */
25 extern VSTRING *readllines(VSTRING *, VSTREAM *, int *, int *);
26 
27 #define readlline(bp, fp, lp) readllines((bp), (fp), (lp), (int *) 0)
28 
29 /* LICENSE
30 /* .ad
31 /* .fi
32 /*	The Secure Mailer license must be distributed with this software.
33 /* AUTHOR(S)
34 /*	Wietse Venema
35 /*	IBM T.J. Watson Research
36 /*	P.O. Box 704
37 /*	Yorktown Heights, NY 10598, USA
38 /*--*/
39 
40 #endif
41