version 1.30, 2010/04/30 19:29:01 |
version 1.31, 2010/07/02 22:01:10 |
|
|
int connected; /* 1 = connected to server, -1 = logged in */ |
int connected; /* 1 = connected to server, -1 = logged in */ |
int fromatty; /* input is from a terminal */ |
int fromatty; /* input is from a terminal */ |
int interactive; /* interactively prompt on m* cmds */ |
int interactive; /* interactively prompt on m* cmds */ |
int confirmrest; /* confirm rest of current m* cmd */ |
|
#ifndef SMALL |
#ifndef SMALL |
|
int confirmrest; /* confirm rest of current m* cmd */ |
int debug; /* debugging level */ |
int debug; /* debugging level */ |
#endif /* !SMALL */ |
|
int bell; /* ring bell on cmd completion */ |
int bell; /* ring bell on cmd completion */ |
|
char *altarg; /* argv[1] with no shell-like preprocessing */ |
|
#endif /* !SMALL */ |
int doglob; /* glob local file names */ |
int doglob; /* glob local file names */ |
int autologin; /* establish user account on connection */ |
int autologin; /* establish user account on connection */ |
int proxy; /* proxy server connection active */ |
int proxy; /* proxy server connection active */ |
|
|
char pasv[BUFSIZ]; /* passive port for proxy data connection */ |
char pasv[BUFSIZ]; /* passive port for proxy data connection */ |
int passivemode; /* passive mode enabled */ |
int passivemode; /* passive mode enabled */ |
int activefallback; /* fall back to active mode if passive fails */ |
int activefallback; /* fall back to active mode if passive fails */ |
char *altarg; /* argv[1] with no shell-like preprocessing */ |
|
char ntin[17]; /* input translation table */ |
char ntin[17]; /* input translation table */ |
char ntout[17]; /* output translation table */ |
char ntout[17]; /* output translation table */ |
char mapin[MAXPATHLEN]; /* input map template */ |
char mapin[MAXPATHLEN]; /* input map template */ |
|
|
|
|
jmp_buf toplevel; /* non-local goto stuff for cmd scanner */ |
jmp_buf toplevel; /* non-local goto stuff for cmd scanner */ |
|
|
|
#ifndef SMALL |
char line[FTPBUFLEN]; /* input line buffer */ |
char line[FTPBUFLEN]; /* input line buffer */ |
|
char *argbase; /* current storage point in arg buffer */ |
char *stringbase; /* current scan point in line buffer */ |
char *stringbase; /* current scan point in line buffer */ |
char argbuf[FTPBUFLEN]; /* argument storage buffer */ |
char argbuf[FTPBUFLEN]; /* argument storage buffer */ |
char *argbase; /* current storage point in arg buffer */ |
|
#ifndef SMALL |
|
StringList *marg_sl; /* stringlist containing margv */ |
StringList *marg_sl; /* stringlist containing margv */ |
#endif /* !SMALL */ |
|
int margc; /* count of arguments on input line */ |
int margc; /* count of arguments on input line */ |
|
int options; /* used during socket creation */ |
|
#endif /* !SMALL */ |
|
|
#define margv (marg_sl->sl_str) /* args parsed from input line */ |
#define margv (marg_sl->sl_str) /* args parsed from input line */ |
int cpend; /* flag: if != 0, then pending server reply */ |
int cpend; /* flag: if != 0, then pending server reply */ |
int mflag; /* flag: if != 0, then active multi command */ |
int mflag; /* flag: if != 0, then active multi command */ |
|
|
int options; /* used during socket creation */ |
|
|
|
/* |
/* |
* Format of command table. |
* Format of command table. |