ReactOS 0.4.16-dev-109-gf4cb10f
ftp_var.h File Reference
#include <setjmp.h>
#include <time.h>
#include "fake.h"
#include "prototypes.h"
Include dependency graph for ftp_var.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cmd
 
struct  macel
 

Macros

#define IAC   255
 
#define DONT   254
 
#define DO   253
 
#define WONT   252
 
#define WILL   251
 
#define SB   250
 
#define GA   249
 
#define EL   248
 
#define EC   247
 
#define AYT   246
 
#define AO   245
 
#define IP   244
 
#define BREAK   243
 
#define DM   242
 
#define NOP   241
 
#define SE   240
 
#define EOR   239
 
#define ABORT   238
 
#define SUSP   237
 
#define xEOF   236
 
#define MAXPATHLEN   255
 
#define TYPE_A   'A'
 
#define TYPE_I   'I'
 
#define TYPE_E   'E'
 
#define TYPE_L   'L'
 
#define PRELIM   1
 
#define COMPLETE   2
 
#define CONTINUE   3
 
#define TRANSIENT   4
 
#define MODE_S   1
 
#define MODE_B   2
 
#define MODE_C   3
 
#define STRU_F   1
 
#define STRU_R   2
 
#define STRU_P   3
 
#define FORM_N   1
 
#define FORM_T   2
 
#define FORM_C   3
 

Typedefs

typedef int sig_t
 
typedef int uid_t
 

Variables

int trace
 
int hash
 
int sendport
 
int verbose
 
int connected
 
int fromatty
 
int interactive
 
int debug
 
int bell
 
int doglob
 
int proxy
 
int proxflag
 
int sunique
 
int runique
 
int mcase
 
int ntflag
 
int mapflag
 
int code
 
int crflag
 
char pasv [64]
 
int passivemode
 
charaltarg
 
char ntin [17]
 
char ntout [17]
 
char mapin [MAXPATHLEN]
 
char mapout [MAXPATHLEN]
 
char typename [32]
 
int type
 
char structname [32]
 
int stru
 
char formname [32]
 
int form
 
char modename [32]
 
int mode
 
char bytename [32]
 
int bytesize
 
jmp_buf toplevel
 
char line [200]
 
charstringbase
 
char argbuf [200]
 
charargbase
 
int margc
 
const charmargv [20]
 
int cpend
 
int mflag
 
int options
 
int macnum
 
struct macel macros [16]
 
char macbuf [4096]
 

Macro Definition Documentation

◆ ABORT

#define ABORT   238

Definition at line 30 of file ftp_var.h.

◆ AO

#define AO   245

Definition at line 23 of file ftp_var.h.

◆ AYT

#define AYT   246

Definition at line 22 of file ftp_var.h.

◆ BREAK

#define BREAK   243

Definition at line 25 of file ftp_var.h.

◆ COMPLETE

#define COMPLETE   2

Definition at line 42 of file ftp_var.h.

◆ CONTINUE

#define CONTINUE   3

Definition at line 43 of file ftp_var.h.

◆ DM

#define DM   242

Definition at line 26 of file ftp_var.h.

◆ DO

#define DO   253

Definition at line 15 of file ftp_var.h.

◆ DONT

#define DONT   254

Definition at line 14 of file ftp_var.h.

◆ EC

#define EC   247

Definition at line 21 of file ftp_var.h.

◆ EL

#define EL   248

Definition at line 20 of file ftp_var.h.

◆ EOR

#define EOR   239

Definition at line 29 of file ftp_var.h.

◆ FORM_C

#define FORM_C   3

Definition at line 56 of file ftp_var.h.

◆ FORM_N

#define FORM_N   1

Definition at line 54 of file ftp_var.h.

◆ FORM_T

#define FORM_T   2

Definition at line 55 of file ftp_var.h.

◆ GA

#define GA   249

Definition at line 19 of file ftp_var.h.

◆ IAC

#define IAC   255

Definition at line 13 of file ftp_var.h.

◆ IP

#define IP   244

Definition at line 24 of file ftp_var.h.

◆ MAXPATHLEN

#define MAXPATHLEN   255

Definition at line 35 of file ftp_var.h.

◆ MODE_B

#define MODE_B   2

Definition at line 47 of file ftp_var.h.

◆ MODE_C

#define MODE_C   3

Definition at line 48 of file ftp_var.h.

◆ MODE_S

#define MODE_S   1

Definition at line 46 of file ftp_var.h.

◆ NOP

#define NOP   241

Definition at line 27 of file ftp_var.h.

◆ PRELIM

#define PRELIM   1

Definition at line 41 of file ftp_var.h.

◆ SB

#define SB   250

Definition at line 18 of file ftp_var.h.

◆ SE

#define SE   240

Definition at line 28 of file ftp_var.h.

◆ STRU_F

#define STRU_F   1

Definition at line 50 of file ftp_var.h.

◆ STRU_P

#define STRU_P   3

Definition at line 52 of file ftp_var.h.

◆ STRU_R

#define STRU_R   2

Definition at line 51 of file ftp_var.h.

◆ SUSP

#define SUSP   237

Definition at line 31 of file ftp_var.h.

◆ TRANSIENT

#define TRANSIENT   4

Definition at line 44 of file ftp_var.h.

◆ TYPE_A

#define TYPE_A   'A'

Definition at line 36 of file ftp_var.h.

◆ TYPE_E

#define TYPE_E   'E'

Definition at line 38 of file ftp_var.h.

◆ TYPE_I

#define TYPE_I   'I'

Definition at line 37 of file ftp_var.h.

◆ TYPE_L

#define TYPE_L   'L'

Definition at line 39 of file ftp_var.h.

◆ WILL

#define WILL   251

Definition at line 17 of file ftp_var.h.

◆ WONT

#define WONT   252

Definition at line 16 of file ftp_var.h.

◆ xEOF

#define xEOF   236

Definition at line 32 of file ftp_var.h.

Typedef Documentation

◆ sig_t

typedef int sig_t

Definition at line 161 of file ftp_var.h.

◆ uid_t

typedef int uid_t

Definition at line 164 of file ftp_var.h.

Variable Documentation

◆ altarg

char* altarg
extern

Definition at line 78 of file main.c.

Referenced by setnmap(), shell(), and slurpstring().

◆ argbase

char* argbase
extern

Definition at line 100 of file main.c.

Referenced by makeargv(), and slurpstring().

◆ argbuf

char argbuf[200]
extern

Definition at line 99 of file main.c.

Referenced by makeargv().

◆ bell

int bell
extern

Definition at line 65 of file main.c.

Referenced by cmdscanner(), domacro(), setbell(), and status().

◆ bytename

char bytename[32]
extern

Definition at line 92 of file main.c.

Referenced by main().

◆ bytesize

int bytesize
extern

Definition at line 93 of file main.c.

Referenced by main().

◆ code

int code
extern

Definition at line 75 of file main.c.

◆ connected

◆ cpend

int cpend
extern

Definition at line 103 of file main.c.

Referenced by command(), getreply(), main(), proxtrans(), pswitch(), recvrequest(), and sendrequest().

◆ crflag

int crflag
extern

Definition at line 76 of file main.c.

Referenced by main(), recvrequest(), setcr(), and status().

◆ debug

int debug
extern

Definition at line 64 of file main.c.

◆ doglob

int doglob
extern

Definition at line 66 of file main.c.

Referenced by globulize(), main(), mput(), remglob(), setglob(), and status().

◆ form

◆ formname

char formname[32]
extern

Definition at line 88 of file main.c.

Referenced by main(), setform(), and status().

◆ fromatty

int fromatty
extern

Definition at line 62 of file main.c.

Referenced by cmdscanner(), main(), mdelete(), mget(), mls(), and mput().

◆ hash

int hash
extern

Definition at line 58 of file main.c.

Referenced by CRYPTDLG_IsCertAllowed(), and test_MsiGetFileHash().

◆ interactive

int interactive
extern

Definition at line 63 of file main.c.

◆ line

char line[200]
extern

Definition at line 97 of file main.c.

Referenced by domacro(), and makeargv().

◆ macbuf

char macbuf[4096]
extern

Definition at line 110 of file main.c.

Referenced by macdef(), and ruserpass().

◆ macnum

int macnum
extern

Definition at line 108 of file main.c.

Referenced by disconnect(), domacro(), login(), macdef(), ruserpass(), and status().

◆ macros

struct macel macros[16]
extern

Definition at line 109 of file main.c.

Referenced by domacro(), login(), macdef(), ruserpass(), and status().

◆ mapflag

int mapflag
extern

Definition at line 74 of file main.c.

Referenced by getit(), mget(), mput(), pswitch(), put(), setnmap(), and status().

◆ mapin

char mapin[MAXPATHLEN]
extern

Definition at line 82 of file main.c.

Referenced by domap(), pswitch(), setnmap(), and status().

◆ mapout

char mapout[MAXPATHLEN]
extern

Definition at line 83 of file main.c.

Referenced by domap(), pswitch(), setnmap(), and status().

◆ margc

◆ margv

◆ mcase

int mcase
extern

Definition at line 72 of file main.c.

Referenced by getit(), mget(), mput(), pswitch(), setcase(), and status().

◆ mflag

int mflag
extern

Definition at line 66 of file finger.c.

Referenced by main(), mdelete(), mget(), mls(), mput(), and remglob().

◆ mode

int mode
extern

Definition at line 91 of file main.c.

◆ modename

char modename[32]
extern

Definition at line 90 of file main.c.

Referenced by fsetmode(), main(), and status().

◆ ntflag

int ntflag
extern

Definition at line 73 of file main.c.

Referenced by getit(), mget(), mput(), pswitch(), put(), setntrans(), and status().

◆ ntin

char ntin[17]
extern

Definition at line 79 of file main.c.

Referenced by dotrans(), pswitch(), setntrans(), and status().

◆ ntout

char ntout[17]
extern

Definition at line 80 of file main.c.

Referenced by dotrans(), pswitch(), setntrans(), and status().

◆ options

int options
extern

Definition at line 106 of file main.c.

◆ passivemode

int passivemode
extern

Definition at line 68 of file main.c.

Referenced by dataconn(), initconn(), main(), and setpassive().

◆ pasv

char pasv[64]
extern

Definition at line 77 of file main.c.

Referenced by getreply(), initconn(), and proxtrans().

◆ proxflag

int proxflag
extern

Definition at line 69 of file main.c.

Referenced by doproxy(), getreply(), and lostpeer().

◆ proxy

◆ runique

int runique
extern

Definition at line 71 of file main.c.

Referenced by proxtrans(), pswitch(), recvrequest(), setrunique(), and status().

◆ sendport

int sendport
extern

Definition at line 117 of file main.c.

Referenced by initconn(), setport(), and status().

◆ stringbase

char* stringbase
extern

Definition at line 98 of file main.c.

Referenced by makeargv(), and slurpstring().

◆ stru

int stru
extern

Definition at line 87 of file main.c.

Referenced by main().

◆ structname

char structname[32]
extern

Definition at line 86 of file main.c.

Referenced by main(), setstruct(), and status().

◆ sunique

int sunique
extern

Definition at line 70 of file main.c.

Referenced by mput(), pswitch(), put(), setsunique(), and status().

◆ toplevel

jmp_buf toplevel
extern

◆ trace

int trace
extern

◆ type

int type
extern

Definition at line 85 of file main.c.

Referenced by d3dx_create_param_eval(), initialise_mbr(), and while().

◆ typename

char typename[32]
extern

Definition at line 84 of file main.c.

Referenced by of_type().

◆ verbose

int verbose
extern

Definition at line 60 of file main.c.