summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/extern.h
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-09-04 04:37:12 +0000
committermillert <millert@openbsd.org>1997-09-04 04:37:12 +0000
commit2a1d35017e94e8c152ae4de13da6e2854b3ad8c6 (patch)
treeb7c54258eedfbe2e793854f45c9f232f5722a276 /usr.bin/ftp/extern.h
parentfork netstart; new child is rc.conf (diff)
downloadwireguard-openbsd-2a1d35017e94e8c152ae4de13da6e2854b3ad8c6.tar.xz
wireguard-openbsd-2a1d35017e94e8c152ae4de13da6e2854b3ad8c6.zip
Updtaes from NetBSD (lukem)
bugs fixed: * don't interpret '-' or '|' when a local filename is determined from the remote name (i.e, in mget, and in get with only one argument). This is implemented using an extra argument to recvrequest(). Fixes a major security hole. * clean up memory leak when using globulize() * clean up a couple of comments * fix wording in TNF copyright features added: * support for TIS fwtk gate-ftp servers: * read defaults from $FTPSERVER && $FTPSERVERPORT * start in gate-ftp mode if invoked as 'gate-ftp' * toggle or set with 'gate [host [port]]' Other changes: * use symbolic flags in access(2) * Use USHRT_MAX, not 0xffff
Diffstat (limited to 'usr.bin/ftp/extern.h')
-rw-r--r--usr.bin/ftp/extern.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ftp/extern.h b/usr.bin/ftp/extern.h
index 2abb286eb39..1cfa300cb07 100644
--- a/usr.bin/ftp/extern.h
+++ b/usr.bin/ftp/extern.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: extern.h,v 1.15 1997/07/25 21:56:19 millert Exp $ */
-/* $NetBSD: extern.h,v 1.16 1997/07/20 09:45:48 lukem Exp $ */
+/* $OpenBSD: extern.h,v 1.16 1997/09/04 04:37:14 millert Exp $ */
+/* $NetBSD: extern.h,v 1.17 1997/08/18 10:20:19 lukem Exp $ */
/*-
* Copyright (c) 1994 The Regents of the University of California.
@@ -112,7 +112,7 @@ void quit __P((int, char **));
void quote __P((int, char **));
void quote1 __P((const char *, int, char **));
void recvrequest __P((const char *, const char *, const char *,
- const char *, int));
+ const char *, int, int));
void reget __P((int, char **));
char *remglob __P((char **, int, char **));
off_t remotesize __P((const char *, int));
@@ -134,6 +134,7 @@ void setdebug __P((int, char **));
void setedit __P((int, char **));
void setform __P((int, char **));
void setftmode __P((int, char **));
+void setgate __P((int, char **));
void setglob __P((int, char **));
void sethash __P((int, char **));
void setnmap __P((int, char **));