diff options
author | jkh <jkh@FreeBSD.org> | 1995-05-23 02:41:18 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1995-05-23 02:41:18 +0000 |
commit | 69df29fff8d1ce7a7a944f0d6431cebb54fca45e (patch) | |
tree | 1be6c68d1b91dc89c4abcef6f02b842e08f96593 /release/sysinstall/ftp.h | |
parent | c479e492f4696b134bb3a6de2a2b0ac949a5ac63 (diff) | |
download | FreeBSD-src-69df29fff8d1ce7a7a944f0d6431cebb54fca45e.zip FreeBSD-src-69df29fff8d1ce7a7a944f0d6431cebb54fca45e.tar.gz |
1. Bring in the first cut of Poul's ftp routines. We still don't
use them yet, but it's close (we're working on the last wrinkles
in the CD install for now).
2. Complete the CDROM installation strategy code.
3. Simplify the distribtuion loading code.
4. General error message cleanup.
5. Write the /etc/fstab file now and split those routines into config.c
6. Clean up the menus a little more.
Diffstat (limited to 'release/sysinstall/ftp.h')
-rw-r--r-- | release/sysinstall/ftp.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/release/sysinstall/ftp.h b/release/sysinstall/ftp.h new file mode 100644 index 0000000..71d5bce --- /dev/null +++ b/release/sysinstall/ftp.h @@ -0,0 +1,25 @@ +typedef struct { + int fd_ctrl; + int fd_debug; + int binary; + int passive; + int addrtype; + char *host; + char *file; +} *FTP_t; + +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); } +#define FtpDebug(ftp, bool) { (ftp)->fd_debug = (bool); } +/* +void FtpBinary(FTP_t, int); +void FtpPassive(FTP_t, int); +void FtpDebug(FTP_t, int); +*/ +int FtpChdir(FTP_t, char *); +int FtpGet(FTP_t, char *); +int FtpEOF(FTP_t); +void FtpClose(FTP_t); + |