summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-28 00:03:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:08 -0500
commit4818967242c7f502661193428f6217e8caa43e20 (patch)
tree36202ab45a23ec55c94950ac86f2daaf726af702 /source4/lib
parenteaaae31d1105a7abe31918c59ae9bfab0010bb51 (diff)
downloadsamba-4818967242c7f502661193428f6217e8caa43e20.tar.gz
samba-4818967242c7f502661193428f6217e8caa43e20.tar.bz2
samba-4818967242c7f502661193428f6217e8caa43e20.zip
r15303: Re-add SMB readline replacement header
(This used to be commit 40fb796ad25dc8b53d9f7c66324712b7ff4fc071)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/readline.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/lib/replace/readline.h b/source4/lib/replace/readline.h
new file mode 100644
index 0000000000..cde2b47a24
--- /dev/null
+++ b/source4/lib/replace/readline.h
@@ -0,0 +1,9 @@
+#ifndef __SMBREADLINE_H__
+#define __SMBREADLINE_H__
+
+char *smb_readline(const char *prompt, void (*callback)(void),
+ char **(completion_fn)(const char *text, int start, int end));
+const char *smb_readline_get_line_buffer(void);
+void smb_readline_ca_char(char c);
+
+#endif /* __SMBREADLINE_H__ */