xref: /netbsd-src/external/bsd/ntp/dist/include/ntp_lineedit.h (revision cdfa2a7ef92791ba9db70a584a1d904730e6fb46)
1 /*	$NetBSD: ntp_lineedit.h,v 1.5 2020/05/25 20:47:19 christos Exp $	*/
2 
3 
4 /*
5  * ntp_lineedit.h - generic interface to various line editing libs
6  */
7 
8 int		ntp_readline_init(const char *prompt);
9 void		ntp_readline_uninit(void);
10 
11 /*
12  * strings returned by ntp_readline go home to free()
13  */
14 char *		ntp_readline(int *pcount);
15 
16