version 1.36, 2014/10/31 13:48:21 |
version 1.37, 2015/01/16 06:40:08 |
|
|
* FTP global variables. |
* FTP global variables. |
*/ |
*/ |
|
|
#include <sys/param.h> |
#include <sys/signal.h> |
|
#include <limits.h> |
#include <setjmp.h> |
#include <setjmp.h> |
|
|
#ifndef SMALL |
#ifndef SMALL |
|
|
#include "small.h" |
#include "small.h" |
|
|
#define HASHBYTES 1024 |
#define HASHBYTES 1024 |
#define FTPBUFLEN MAXPATHLEN + 200 |
#define FTPBUFLEN PATH_MAX + 200 |
|
|
#define STALLTIME 5 /* # of seconds of no xfer before "stalling" */ |
#define STALLTIME 5 /* # of seconds of no xfer before "stalling" */ |
|
|
|
|
int activefallback; /* fall back to active mode if passive fails */ |
int activefallback; /* fall back to active mode if passive fails */ |
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[PATH_MAX]; /* input map template */ |
char mapout[MAXPATHLEN]; /* output map template */ |
char mapout[PATH_MAX]; /* output map template */ |
char typename[32]; /* name of file transfer type */ |
char typename[32]; /* name of file transfer type */ |
int type; /* requested file transfer type */ |
int type; /* requested file transfer type */ |
int curtype; /* current file transfer type */ |
int curtype; /* current file transfer type */ |