diff options
Diffstat (limited to 'include/ntp_lineedit.h')
-rw-r--r-- | include/ntp_lineedit.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/ntp_lineedit.h b/include/ntp_lineedit.h new file mode 100644 index 0000000..623c6f4 --- /dev/null +++ b/include/ntp_lineedit.h @@ -0,0 +1,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); + |