| Line | |
|---|
| 1 | /* ftp.h
|
|---|
| 2 | *
|
|---|
| 3 | * This file is part of ftp.
|
|---|
| 4 | *
|
|---|
| 5 | *
|
|---|
| 6 | * 01/25/96 Initial Release Michael Temari, <temari@ix.netcom.com>
|
|---|
| 7 | */
|
|---|
| 8 |
|
|---|
| 9 | extern FILE *fpcommin;
|
|---|
| 10 | extern FILE *fpcommout;
|
|---|
| 11 |
|
|---|
| 12 | extern int linkopen;
|
|---|
| 13 | extern int loggedin;
|
|---|
| 14 | extern int type;
|
|---|
| 15 | extern int format;
|
|---|
| 16 | extern int mode;
|
|---|
| 17 | extern int structure;
|
|---|
| 18 | extern int passive;
|
|---|
| 19 | extern int atty;
|
|---|
| 20 |
|
|---|
| 21 | #define NUMARGS 10
|
|---|
| 22 | extern int cmdargc;
|
|---|
| 23 | extern char *cmdargv[NUMARGS];
|
|---|
| 24 |
|
|---|
| 25 | extern char reply[1024];
|
|---|
| 26 |
|
|---|
| 27 | #define RETR 0
|
|---|
| 28 | #define STOR 1
|
|---|
| 29 |
|
|---|
| 30 | #define TYPE_A 0
|
|---|
| 31 | #define TYPE_I 1
|
|---|
| 32 |
|
|---|
| 33 | _PROTOTYPE(int readline, (char *prompt, char *buff, int len));
|
|---|
| 34 | _PROTOTYPE(int DOgetreply, (void));
|
|---|
| 35 | _PROTOTYPE(int DOcmdcheck, (void));
|
|---|
| 36 | _PROTOTYPE(int DOcommand, (char *ftpcommand, char *ftparg));
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.