xref: /freebsd-src/contrib/ntp/include/ntp_lineedit.h (revision 416ba5c74546f32a993436a99516d35008e9f384)
1*2b15cb3dSCy Schubert 
2*2b15cb3dSCy Schubert /*
3*2b15cb3dSCy Schubert  * ntp_lineedit.h - generic interface to various line editing libs
4*2b15cb3dSCy Schubert  */
5*2b15cb3dSCy Schubert 
6*2b15cb3dSCy Schubert int		ntp_readline_init(const char *prompt);
7*2b15cb3dSCy Schubert void		ntp_readline_uninit(void);
8*2b15cb3dSCy Schubert 
9*2b15cb3dSCy Schubert /*
10*2b15cb3dSCy Schubert  * strings returned by ntp_readline go home to free()
11*2b15cb3dSCy Schubert  */
12*2b15cb3dSCy Schubert char *		ntp_readline(int *pcount);
13*2b15cb3dSCy Schubert 
14