forget difference between big and small commands - obsolete with vm.
[minix.git] / commands / ftp101 / ftp.h
blobee7287181a4910a75316ee76ec80c4c35956433a
1 /* ftp.h Copyright 1992-2000 by Michael Temari All Rights Reserved
3 * This file is part of ftp.
6 * 01/25/96 Initial Release Michael Temari, <Michael@TemWare.Com>
7 */
9 extern int linkopen;
10 extern int loggedin;
11 extern int type;
12 extern int format;
13 extern int mode;
14 extern int structure;
15 extern int passive;
16 extern int atty;
18 #define NUMARGS 10
19 extern int cmdargc;
20 extern char *cmdargv[NUMARGS];
22 extern int printreply;
23 extern char reply[1024];
25 #define RETR 0
26 #define STOR 1
28 #define TYPE_A 0
29 #define TYPE_I 1
31 #define MODE_S 0
32 #define MODE_B 1
34 #define MODE_B_EOF 64
36 _PROTOTYPE(int readline, (char *prompt, char *buff, int len));
37 _PROTOTYPE(int DOgetreply, (void));
38 _PROTOTYPE(int DOcmdcheck, (void));
39 _PROTOTYPE(int DOcommand, (char *ftpcommand, char *ftparg));