packages: don't put oss on cd.
[minix.git] / commands / ftpd200 / ftpd.h
blob373709e64796ad8ce4ddd19d23445f9e6ebf3680
1 /* ftpd.h Copyright 1992-2000 by Michael Temari All Rights Reserved
3 * This file is part of ftpd.
6 * 01/25/96 Initial Release Michael Temari, <Michael@TemWare.Com>
7 */
9 #define GOOD 0
10 #define BAD 1
12 #define TYPE_A 0
13 #define TYPE_I 1
15 #define MODE_S 0
16 #define MODE_B 1
18 #define MODE_B_EOF 64
20 extern char *FtpdVersion;
21 extern int type, format, mode, structure;
22 extern ipaddr_t myipaddr, rmtipaddr, dataaddr;
23 extern tcpport_t myport, rmtport, dataport;
24 extern int ftpdata_fd;
25 extern int loggedin, gotuser, anonymous;
26 extern char newroot[128];
27 extern char *days[], *months[];
28 extern char username[80];
29 extern char anonpass[128];
30 extern char myhostname[256], rmthostname[256];
31 extern char line[512];
33 extern FILE *logfile;
35 _PROTOTYPE(void cvtline, (char **args));
36 _PROTOTYPE(void logit, (char *type, char *parm));
37 _PROTOTYPE(void showmsg, (char *reply, char *filename));