ftpd.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define GOOD   0
#define BAD   1
#define TYPE_A   0
#define TYPE_I   1
#define MODE_S   0
#define MODE_B   1
#define MODE_B_EOF   64

Functions

 _PROTOTYPE (void cvtline,(char **args))
 _PROTOTYPE (void logit,(char *type, char *parm))
 _PROTOTYPE (void showmsg,(char *reply, char *filename))

Variables

char * FtpdVersion
int type
int format
int mode
int structure
ipaddr_t myipaddr
ipaddr_t rmtipaddr
ipaddr_t dataaddr
tcpport_t myport
tcpport_t rmtport
tcpport_t dataport
int ftpdata_fd
int loggedin
int gotuser
int anonymous
char newroot [128]
char * days []
char * months []
char username [80]
char anonpass [128]
char myhostname [256]
char rmthostname [256]
char line [512]
FILElogfile


Define Documentation

#define BAD   1
 

Definition at line 10 of file ftpd.h.

Referenced by cmdcomp(), DataConnect(), doQUIT(), findmust(), inflate_fast(), mjhand(), pluscount(), read_fat(), readline(), recomp(), regexec(), rhscomp(), set_uart(), and ycomp().

#define GOOD   0
 

Definition at line 9 of file ftpd.h.

Referenced by AreWeIn(), CleanUpPasv(), DataConnect(), doALLO(), doCDUP(), docrc(), doCWD(), doDELE(), dofdet(), doMDTM(), doMKD(), doMODE(), doNOOP(), doPASS(), doPASV(), doPORT(), doPWD(), doREST(), doRMD(), doRNFR(), doRNTO(), doSITE(), doSIZE(), doSTAT(), doSTRU(), doSYST(), doTYPE(), doUNIMP(), doUSER(), main(), readline(), recvfile(), and sendfile().

#define MODE_B   1
 

Definition at line 16 of file ftpd.h.

Referenced by doMODE(), doSTAT(), recvfile(), and sendfile().

#define MODE_B_EOF   64
 

Definition at line 18 of file ftpd.h.

Referenced by recvfile(), and sendfile().

#define MODE_S   0
 

Definition at line 15 of file ftpd.h.

Referenced by doMODE(), and init().

#define TYPE_A   0
 

Definition at line 12 of file ftpd.h.

#define TYPE_I   1
 

Definition at line 13 of file ftpd.h.


Function Documentation

_PROTOTYPE void  showmsg,
(char *reply, char *filename) 
 

_PROTOTYPE void  logit,
(char *type, char *parm) 
 

_PROTOTYPE void  cvtline,
(char **args
 


Variable Documentation

char anonpass[128]
 

Definition at line 63 of file ftpd.c.

Referenced by doPASS().

int anonymous
 

Definition at line 61 of file ftpd.c.

Referenced by AreWeIn(), doDELE(), doMKD(), doRMD(), doRNFR(), doRNTO(), and recvfile().

ipaddr_t dataaddr
 

Definition at line 66 of file ftpd.c.

Referenced by DataConnect().

tcpport_t dataport
 

Definition at line 67 of file ftpd.c.

char* days[]
 

Definition at line 53 of file ftpd.c.

int format
 

Definition at line 32 of file ftp.c.

int ftpdata_fd
 

Definition at line 60 of file ftpd.c.

Referenced by DataConnect(), DOdata(), doPASV(), doPORT(), recvfile(), and sendfile().

char* FtpdVersion
 

Definition at line 24 of file ftpd.c.

Referenced by doSTAT(), and main().

int gotuser
 

Definition at line 61 of file ftpd.c.

Referenced by doPASS(), and doUSER().

char line[512]
 

Definition at line 92 of file mknodes.c.

FILE* logfile
 

Definition at line 74 of file ftpd.c.

int loggedin
 

Definition at line 30 of file ftp.c.

int mode
 

Definition at line 41 of file vars.c.

char * months[]
 

Definition at line 54 of file ftpd.c.

char myhostname[256]
 

Definition at line 69 of file ftpd.c.

ipaddr_t myipaddr
 

Definition at line 66 of file ftpd.c.

tcpport_t myport
 

Definition at line 67 of file ftpd.c.

char newroot[128]
 

Definition at line 64 of file ftpd.c.

Referenced by AreWeIn(), dochroot(), dosrvrroot(), and path().

char rmthostname[256]
 

Definition at line 69 of file ftpd.c.

ipaddr_t rmtipaddr
 

Definition at line 66 of file ftpd.c.

tcpport_t rmtport
 

Definition at line 67 of file ftpd.c.

int structure
 

Definition at line 34 of file ftp.c.

int type
 

Definition at line 1491 of file cmd1.c.

char username[80]
 

Definition at line 62 of file ftpd.c.


Generated on Fri Apr 14 23:03:30 2006 for minix by  doxygen 1.4.6