source: trunk/minix/commands/ftp/ftp.h@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 681 bytes
RevLine 
[9]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
9extern FILE *fpcommin;
10extern FILE *fpcommout;
11
12extern int linkopen;
13extern int loggedin;
14extern int type;
15extern int format;
16extern int mode;
17extern int structure;
18extern int passive;
19extern int atty;
20
21#define NUMARGS 10
22extern int cmdargc;
23extern char *cmdargv[NUMARGS];
24
25extern 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.