summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/ftp.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-05-24 09:00:58 +0000
committerjkh <jkh@FreeBSD.org>1995-05-24 09:00:58 +0000
commit744d6a5236154ffd1d180e6840f33a03b278f5b6 (patch)
tree950b9e3cd767f4528ac7f27b7809a368cf47d34c /release/sysinstall/ftp.h
parent33ee1a22eddb8029d1051a4c04f35b72dcc1e6da (diff)
downloadFreeBSD-src-744d6a5236154ffd1d180e6840f33a03b278f5b6.zip
FreeBSD-src-744d6a5236154ffd1d180e6840f33a03b278f5b6.tar.gz
Sync to latest ftp-capable sysinstall. We're getting there!
Diffstat (limited to 'release/sysinstall/ftp.h')
-rw-r--r--release/sysinstall/ftp.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/release/sysinstall/ftp.h b/release/sysinstall/ftp.h
index 71d5bce..31e348f 100644
--- a/release/sysinstall/ftp.h
+++ b/release/sysinstall/ftp.h
@@ -1,5 +1,7 @@
typedef struct {
+ enum {init, isopen, xfer} state;
int fd_ctrl;
+ int fd_xfer;
int fd_debug;
int binary;
int passive;
@@ -12,12 +14,9 @@ FTP_t FtpInit();
int FtpOpen(FTP_t, char *host, char *user, char *passwd);
#define FtpBinary(ftp,bool) { (ftp)->binary = (bool); }
#define FtpPassive(ftp,bool) { (ftp)->passive = (bool); }
+#ifndef STANDALONE_FTP
#define FtpDebug(ftp, bool) { (ftp)->fd_debug = (bool); }
-/*
-void FtpBinary(FTP_t, int);
-void FtpPassive(FTP_t, int);
-void FtpDebug(FTP_t, int);
-*/
+#endif
int FtpChdir(FTP_t, char *);
int FtpGet(FTP_t, char *);
int FtpEOF(FTP_t);
OpenPOWER on IntegriCloud