summaryrefslogtreecommitdiff
path: root/source4/lib/replace/smbreadline.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-01 13:20:05 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:29 -0500
commite595ede02fe9c80a88b5a7da4721c3c01808c276 (patch)
tree8aa304d9b4c2702bb2928425afb3f0a812e6b042 /source4/lib/replace/smbreadline.h
parentbd9e9062bff619e974cfc9bfb22f9b8dac8e8b80 (diff)
downloadsamba-e595ede02fe9c80a88b5a7da4721c3c01808c276.tar.gz
samba-e595ede02fe9c80a88b5a7da4721c3c01808c276.tar.bz2
samba-e595ede02fe9c80a88b5a7da4721c3c01808c276.zip
r15375: Rename readline.h to smbreadline.h avoid clashes with system header.
(This used to be commit ccc3d8a95441e7a7015f0cf0e622ec9e38347d33)
Diffstat (limited to 'source4/lib/replace/smbreadline.h')
-rw-r--r--source4/lib/replace/smbreadline.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/lib/replace/smbreadline.h b/source4/lib/replace/smbreadline.h
new file mode 100644
index 0000000000..cde2b47a24
--- /dev/null
+++ b/source4/lib/replace/smbreadline.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__ */