summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-03-19 00:22:52 +0000
committerAndrew Tridgell <tridge@samba.org>2001-03-19 00:22:52 +0000
commite17e7b64175dcfc9963405a9fa3724f8d7097d89 (patch)
treeeef4b00b64ea7ff5ded424c11af81afdb476c2bc /source3/include
parent4c9f7ab7f6e7fecfa6e4bc5f8476251e35b8b363 (diff)
downloadsamba-e17e7b64175dcfc9963405a9fa3724f8d7097d89.tar.gz
samba-e17e7b64175dcfc9963405a9fa3724f8d7097d89.tar.bz2
samba-e17e7b64175dcfc9963405a9fa3724f8d7097d89.zip
added basic command completion support
(This used to be commit 386fdff2dfeaeef60b210ebc0b4d33a6c7b5d5ec)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index d2d96c4c60..2b79371acc 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -166,7 +166,8 @@ void pidfile_create(char *name);
/*The following definitions come from lib/readline.c */
-char *smb_readline(char *prompt, void (*callback)(void));
+char *smb_readline(char *prompt, void (*callback)(void),
+ char **(completion_fn)(char *text, int start, int end));
void cmd_history(void);
/*The following definitions come from lib/replace.c */