summaryrefslogtreecommitdiff
path: root/source4/client
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-26 15:15:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:58 -0500
commite337caeed1459f876449611ae1684616d0ea8f55 (patch)
tree172bc1ed142701b20975771e3d788a0fb9aea034 /source4/client
parent98a7da234869576c0b4b41ede9fd64a022c3ec58 (diff)
downloadsamba-e337caeed1459f876449611ae1684616d0ea8f55.tar.gz
samba-e337caeed1459f876449611ae1684616d0ea8f55.tar.bz2
samba-e337caeed1459f876449611ae1684616d0ea8f55.zip
r10509: Some more sconscript fixes. Now getting to link stage for smbclient
(This used to be commit 6df956edbab7ad5e72b2f20e74ab0f0d62528932)
Diffstat (limited to 'source4/client')
-rw-r--r--source4/client/client.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/source4/client/client.c b/source4/client/client.c
index 1e41924321..bd40c97efd 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -2611,6 +2611,27 @@ static int cmd_lcd(const char **cmd_ptr)
}
/****************************************************************************
+history
+****************************************************************************/
+static int cmd_history(const char **cmd_ptr)
+{
+#if defined(HAVE_LIBREADLINE)
+ HIST_ENTRY **hlist;
+ int i;
+
+ hlist = history_list();
+
+ for (i = 0; hlist && hlist[i]; i++) {
+ DEBUG(0, ("%d: %s\n", i, hlist[i]->line));
+ }
+#else
+ DEBUG(0,("no history without readline support\n"));
+#endif
+
+ return 0;
+}
+
+/****************************************************************************
get a file restarting at end of local file
****************************************************************************/
static int cmd_reget(const char **cmd_ptr)