mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 23:57:54 +01:00
7ccad8a96a
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.
26 lines
598 B
C
26 lines
598 B
C
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);
|
|
|