diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-03-18 23:41:53 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-03-18 23:41:53 +0000 |
commit | bc25293f96fb559b875d03e6ddbd9079b4af9dff (patch) | |
tree | df695c86979cc74c6311967e68e256f5fb2fc5f5 /source3/include/proto.h | |
parent | cf313f6232e02577b0d79cc90e74cf8f20a81896 (diff) | |
download | samba-bc25293f96fb559b875d03e6ddbd9079b4af9dff.tar.gz samba-bc25293f96fb559b875d03e6ddbd9079b4af9dff.tar.xz samba-bc25293f96fb559b875d03e6ddbd9079b4af9dff.zip |
much simpler readline code
should work with readline 2.x
(This used to be commit 7940b6b0cf614ac72266d9e600220c9a9dbd2a43)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 2abbada5a7..d2d96c4c60 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -166,10 +166,7 @@ void pidfile_create(char *name); /*The following definitions come from lib/readline.c */ -void smb_rl_read_char (void); -void init_smb_readline(char *prg_name, char *cline_ptr, int *event_ptr); -void smb_readline_prompt(char *prompt); -void smb_readline_remove_handler(void); +char *smb_readline(char *prompt, void (*callback)(void)); void cmd_history(void); /*The following definitions come from lib/replace.c */ |