diff options
author | 2016-08-18 16:23:06 +0000 | |
---|---|---|
committer | 2016-08-18 16:23:06 +0000 | |
commit | 5e970e47f21d38fcd753ce2c7ad746224f8af0a8 (patch) | |
tree | 6f8145c532323d17c952a5ee63706d7072f8f6bc /usr.bin/ftp/extern.h | |
parent | use a more standard page layout; ok mlarkin (diff) | |
download | wireguard-openbsd-5e970e47f21d38fcd753ce2c7ad746224f8af0a8.tar.xz wireguard-openbsd-5e970e47f21d38fcd753ce2c7ad746224f8af0a8.zip |
Move connect_sync() to util.c and use it when connecting via http
too. OK sthen@ deraadt@
Diffstat (limited to 'usr.bin/ftp/extern.h')
-rw-r--r-- | usr.bin/ftp/extern.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ftp/extern.h b/usr.bin/ftp/extern.h index 8df91d5e6f2..ea894bfe521 100644 --- a/usr.bin/ftp/extern.h +++ b/usr.bin/ftp/extern.h @@ -1,4 +1,4 @@ -/* $OpenBSD: extern.h,v 1.42 2014/01/23 00:39:15 deraadt Exp $ */ +/* $OpenBSD: extern.h,v 1.43 2016/08/18 16:23:06 millert Exp $ */ /* $NetBSD: extern.h,v 1.17 1997/08/18 10:20:19 lukem Exp $ */ /* @@ -62,6 +62,7 @@ */ #include <sys/types.h> +#include <sys/socket.h> void abort_remote(FILE *); void abortpt(int); @@ -75,6 +76,7 @@ void cmdabort(int); void cmdscanner(int); int command(const char *, ...); int confirm(const char *, const char *); +int connect_sync(int, const struct sockaddr *, socklen_t); FILE *dataconn(const char *); int foregroundproc(void); int fileindir(const char *, const char *); |