summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/extern.h
diff options
context:
space:
mode:
authormartynas <martynas@openbsd.org>2008-06-25 18:07:00 +0000
committermartynas <martynas@openbsd.org>2008-06-25 18:07:00 +0000
commit88c8b4cd280e5b22a72790d9faf8dbcccaadaf07 (patch)
tree19138d85eb12e5719800c8868312fd4c4b9e4472 /usr.bin/ftp/extern.h
parentsync Nd for auglx; (diff)
downloadwireguard-openbsd-88c8b4cd280e5b22a72790d9faf8dbcccaadaf07.tar.xz
wireguard-openbsd-88c8b4cd280e5b22a72790d9faf8dbcccaadaf07.zip
- fix -Wall (no behavior change, a || b && c = a || (b && c) anyway)
- use argv[0] for "Confirm with", as other confirm()s do - fix confirm cases, pass force=1 for mdelete and mabort too, fixes a bug when you end up deleting all files when you ^C, instead of getting a confirmation - add reput command, that will allow to continue transfer uploads - add -c for mget and mput, that will allow to continue multiple transfers - fix a bug when you use restart command together with put. the progressmeter would start from zero, and eta would show fictional time. this actually allows reput/put -c to have correct progressmeter too - document everything discussed with, suggestions, reminded to ifdef SMALL the code so we're able to fit in floppies, and ok millert@, and jmc@
Diffstat (limited to 'usr.bin/ftp/extern.h')
-rw-r--r--usr.bin/ftp/extern.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ftp/extern.h b/usr.bin/ftp/extern.h
index fec76b821d1..d26150b805b 100644
--- a/usr.bin/ftp/extern.h
+++ b/usr.bin/ftp/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.32 2008/06/16 12:03:51 martynas Exp $ */
+/* $OpenBSD: extern.h,v 1.33 2008/06/25 18:07:00 martynas Exp $ */
/* $NetBSD: extern.h,v 1.17 1997/08/18 10:20:19 lukem Exp $ */
/*
@@ -133,6 +133,7 @@ void psummary(int);
void pswitch(int);
void ptransfer(int);
void put(int, char **);
+void putit(int, char **, int);
void pwd(int, char **);
void quit(int, char **);
void quote(int, char **);
@@ -145,6 +146,7 @@ off_t remotesize(const char *, int);
time_t remotemodtime(const char *, int);
void removedir(int, char **);
void renamefile(int, char **);
+void reput(int, char **);
void reset(int, char **);
void restart(int, char **);
void rmthelp(int, char **);