Lines Matching defs:GLOBAL

204 #ifndef	GLOBAL
205 #define GLOBAL extern
211 GLOBAL int trace; /* trace packets exchanged */
212 GLOBAL int hash; /* print # for each buffer transferred */
213 GLOBAL int mark; /* number of bytes between hashes */
214 GLOBAL int sendport; /* use PORT/LPRT cmd for each data connection */
215 GLOBAL int connected; /* 1 = connected to server, -1 = logged in */
216 GLOBAL int interactive; /* interactively prompt on m* cmds */
217 GLOBAL int confirmrest; /* confirm rest of current m* cmd */
218 GLOBAL int debug; /* debugging level */
219 GLOBAL int bell; /* ring bell on cmd completion */
220 GLOBAL int doglob; /* glob local file names */
221 GLOBAL int autologin; /* establish user account on connection */
222 GLOBAL int proxy; /* proxy server connection active */
223 GLOBAL int proxflag; /* proxy connection exists */
224 GLOBAL int gatemode; /* use gate-ftp */
225 GLOBAL char *gateserver; /* server to use for gate-ftp */
226 GLOBAL int sunique; /* store files on server with unique name */
227 GLOBAL int runique; /* store local files with unique name */
228 GLOBAL int mcase; /* map upper to lower case for mget names */
229 GLOBAL int ntflag; /* use ntin ntout tables for name translation */
230 GLOBAL int mapflag; /* use mapin mapout templates on file names */
231 GLOBAL int preserve; /* preserve modification time on files */
232 GLOBAL int code; /* return/reply code for ftp command */
233 GLOBAL int crflag; /* if 1, strip car. rets. on ascii gets */
234 GLOBAL int passivemode; /* passive mode enabled */
235 GLOBAL int activefallback; /* fall back to active mode if passive fails */
236 GLOBAL char *altarg; /* argv[1] with no shell-like preprocessing */
237 GLOBAL char ntin[17]; /* input translation table */
238 GLOBAL char ntout[17]; /* output translation table */
239 GLOBAL char mapin[MAXPATHLEN]; /* input map template */
240 GLOBAL char mapout[MAXPATHLEN]; /* output map template */
241 GLOBAL char typename[32]; /* name of file transfer type */
242 GLOBAL int type; /* requested file transfer type */
243 GLOBAL int curtype; /* current file transfer type */
244 GLOBAL char structname[32]; /* name of file transfer structure */
245 GLOBAL int stru; /* file transfer structure */
246 GLOBAL char formname[32]; /* name of file transfer format */
247 GLOBAL int form; /* file transfer format */
248 GLOBAL char modename[32]; /* name of file transfer mode */
249 GLOBAL int mode; /* file transfer mode */
250 GLOBAL char bytename[32]; /* local byte size in ascii */
251 GLOBAL int bytesize; /* local byte size in binary */
252 GLOBAL int anonftp; /* automatic anonymous login */
253 GLOBAL int dirchange; /* remote directory changed by cd command */
254 GLOBAL int flushcache; /* set HTTP cache flush headers with request */
255 GLOBAL int rate_get; /* maximum get xfer rate */
256 GLOBAL int rate_get_incr; /* increment for get xfer rate */
257 GLOBAL int rate_put; /* maximum put xfer rate */
258 GLOBAL int rate_put_incr; /* increment for put xfer rate */
259 GLOBAL int retry_connect; /* seconds between retrying connection */
260 GLOBAL char *tmpdir; /* temporary directory */
261 GLOBAL int epsv4; /* use EPSV/EPRT on IPv4 connections */
262 GLOBAL int epsv4bad; /* EPSV doesn't work on the current server */
263 GLOBAL int editing; /* command line editing enabled */
264 GLOBAL int features[FEAT_max]; /* remote FEATures supported */
267 GLOBAL EditLine *el; /* editline(3) status structure */
268 GLOBAL History *hist; /* editline(3) history structure */
269 GLOBAL char *cursor_pos; /* cursor position we're looking for */
270 GLOBAL size_t cursor_argc; /* location of cursor in margv */
271 GLOBAL size_t cursor_argo; /* offset of cursor in margv[cursor_argc] */
274 GLOBAL char *direction; /* direction transfer is occurring */
276 GLOBAL char *hostname; /* name of host connected to */
277 GLOBAL int unix_server; /* server is unix, can use binary for ascii */
278 GLOBAL int unix_proxy; /* proxy is unix, can use binary for ascii */
279 GLOBAL char localcwd[MAXPATHLEN]; /* local dir */
280 GLOBAL char remotecwd[MAXPATHLEN]; /* remote dir */
281 GLOBAL char *username; /* name of user logged in as. (dynamic) */
283 GLOBAL sa_family_t family; /* address family to use for connections */
284 GLOBAL char *ftpport; /* port number to use for FTP connections */
285 GLOBAL char *httpport; /* port number to use for HTTP connections */
286 GLOBAL char *gateport; /* port number to use for gateftp connections */
288 GLOBAL char *outfile; /* filename to output URLs to */
289 GLOBAL int restartautofetch; /* restart auto-fetch */
291 GLOBAL char line[FTPBUFLEN]; /* input line buffer */
292 GLOBAL char *stringbase; /* current scan point in line buffer */
293 GLOBAL char argbuf[FTPBUFLEN]; /* argument storage buffer */
294 GLOBAL char *argbase; /* current storage point in arg buffer */
295 GLOBAL StringList *marg_sl; /* stringlist containing margv */
296 GLOBAL int margc; /* count of arguments on input line */
298 GLOBAL int cpend; /* flag: if != 0, then pending server reply */
299 GLOBAL int mflag; /* flag: if != 0, then active multi command */
301 GLOBAL int options; /* used during socket creation */
303 GLOBAL int sndbuf_size; /* socket send buffer size */
304 GLOBAL int rcvbuf_size; /* socket receive buffer size */
306 GLOBAL int macnum; /* number of defined macros */
307 GLOBAL struct macel macros[16];
308 GLOBAL char macbuf[4096];
310 GLOBAL char *localhome; /* local home directory */
311 GLOBAL char *localname; /* local user name */
312 GLOBAL char netrc[MAXPATHLEN]; /* path to .netrc file */
313 GLOBAL char reply_string[BUFSIZ]; /* first line of previous reply */
314 GLOBAL void (*reply_callback)(const char *);
321 GLOBAL volatile sig_atomic_t sigint_raised;
323 GLOBAL FILE *cin;
324 GLOBAL FILE *cout;
325 GLOBAL int data;