Rev | Line | |
---|
[9] | 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 |
|
---|
| 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];
|
---|
| 32 |
|
---|
| 33 | extern 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.