source: trunk/minix/commands/ftpd200/ftpd.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: 877 bytes
Line 
1/* ftpd.h Copyright 1992-2000 by Michael Temari All Rights Reserved
2 *
3 * This file is part of ftpd.
4 *
5 *
6 * 01/25/96 Initial Release Michael Temari, <Michael@TemWare.Com>
7 */
8
9#define GOOD 0
10#define BAD 1
11
12#define TYPE_A 0
13#define TYPE_I 1
14
15#define MODE_S 0
16#define MODE_B 1
17
18#define MODE_B_EOF 64
19
20extern char *FtpdVersion;
21extern int type, format, mode, structure;
22extern ipaddr_t myipaddr, rmtipaddr, dataaddr;
23extern tcpport_t myport, rmtport, dataport;
24extern int ftpdata_fd;
25extern int loggedin, gotuser, anonymous;
26extern char newroot[128];
27extern char *days[], *months[];
28extern char username[80];
29extern char anonpass[128];
30extern char myhostname[256], rmthostname[256];
31extern char line[512];
32
33extern FILE *logfile;
34
35_PROTOTYPE(void cvtline, (char **args));
36_PROTOTYPE(void logit, (char *type, char *parm));
37_PROTOTYPE(void showmsg, (char *reply, char *filename));
Note: See TracBrowser for help on using the repository browser.