freebsd-nq/contrib/ntp/include/ntp_lineedit.h
Cy Schubert 2b15cb3d09 MFV ntp 4.2.8p1 (r258945, r275970, r276091, r276092, r276093, r278284)
Thanks to roberto for providing pointers to wedge this into HEAD.

Approved by:	roberto
2015-03-30 13:30:15 +00:00

14 lines
251 B
C

/*
* ntp_lineedit.h - generic interface to various line editing libs
*/
int ntp_readline_init(const char *prompt);
void ntp_readline_uninit(void);
/*
* strings returned by ntp_readline go home to free()
*/
char * ntp_readline(int *pcount);