summaryrefslogtreecommitdiff
path: root/include/ntp_lineedit.h
blob: 623c6f402530941cbff0637a179dec68726e41fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

/*
 * 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);