summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-03-18 23:41:53 +0000
committerAndrew Tridgell <tridge@samba.org>2001-03-18 23:41:53 +0000
commitbc25293f96fb559b875d03e6ddbd9079b4af9dff (patch)
treedf695c86979cc74c6311967e68e256f5fb2fc5f5 /source3/include/proto.h
parentcf313f6232e02577b0d79cc90e74cf8f20a81896 (diff)
downloadsamba-bc25293f96fb559b875d03e6ddbd9079b4af9dff.tar.gz
samba-bc25293f96fb559b875d03e6ddbd9079b4af9dff.tar.bz2
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.h5
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 */