ReactOS  0.4.15-dev-5142-g967f5b9
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.


struct  cmd
struct  macel


#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


typedef int sig_t
typedef int uid_t


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
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]
char argbuf [200]
int margc
const charmargv [20]
int cpend
int mflag
int options
int macnum
struct macel macros [16]
char macbuf [4096]

Macro Definition Documentation


#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.


#define AYT   246

Definition at line 22 of file ftp_var.h.


#define BREAK   243

Definition at line 25 of file ftp_var.h.


#define COMPLETE   2

Definition at line 42 of file ftp_var.h.


#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.


#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.


#define EOR   239

Definition at line 29 of file ftp_var.h.


#define FORM_C   3

Definition at line 56 of file ftp_var.h.


#define FORM_N   1

Definition at line 54 of file ftp_var.h.


#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.


#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.


#define MAXPATHLEN   255

Definition at line 35 of file ftp_var.h.


#define MODE_B   2

Definition at line 47 of file ftp_var.h.


#define MODE_C   3

Definition at line 48 of file ftp_var.h.


#define MODE_S   1

Definition at line 46 of file ftp_var.h.


#define NOP   241

Definition at line 27 of file ftp_var.h.


#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.


#define STRU_F   1

Definition at line 50 of file ftp_var.h.


#define STRU_P   3

Definition at line 52 of file ftp_var.h.


#define STRU_R   2

Definition at line 51 of file ftp_var.h.


#define SUSP   237

Definition at line 31 of file ftp_var.h.


#define TRANSIENT   4

Definition at line 44 of file ftp_var.h.


#define TYPE_A   'A'

Definition at line 36 of file ftp_var.h.


#define TYPE_E   'E'

Definition at line 38 of file ftp_var.h.


#define TYPE_I   'I'

Definition at line 37 of file ftp_var.h.


#define TYPE_L   'L'

Definition at line 39 of file ftp_var.h.


#define WILL   251

Definition at line 17 of file ftp_var.h.


#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

Definition at line 78 of file main.c.

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

◆ argbase

char* argbase

Definition at line 100 of file main.c.

Referenced by makeargv(), and slurpstring().

◆ argbuf

char argbuf[200]

Definition at line 99 of file main.c.

Referenced by makeargv().

◆ bell

int bell

Definition at line 65 of file main.c.

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

◆ bytename

char bytename[32]

Definition at line 92 of file main.c.

Referenced by main().

◆ bytesize

int bytesize

Definition at line 93 of file main.c.

Referenced by main().

◆ code

Definition at line 75 of file main.c.

Referenced by _getopt_internal_r(), _test_status_code(), bdf_cmap_char_index(), bdf_cmap_char_next(), bitmap_decompress1(), bitmap_decompress2(), bitmap_decompress3(), bitmap_decompress4(), bytecode_addref(), cf2_getSeacComponent(), cff_cmap_encoding_char_next(), cff_parser_init(), cff_parser_run(), child_process(), chmc_system_done(), chmcerr_set(), COMBOEX_Notify(), compile_procedure(), compile_script(), compress_block(), construct_function(), create_copy_error(), create_parseError(), create_source_function(), CreateCaseDiff(), DATETIME_SendSimpleNotify(), DECLARE_INTERFACE_(), decode_source(), DetectJapaneseCode(), dll_entry_point(), emit_catch_jmp(), ERR_getErrorCode(), Err_Raise(), Ext2DeviceControl(), extract_test(), fetch_2d_texel_rgba_dxt5(), FillTable(), FreeBT_DispatchDevCtrl(), ft_lzwstate_io(), generate_nibble(), get_glyph_index_flagged(), get_notifycode(), getreply(), GetResponse(), gif_compress(), handle_edit_event(), handle_WM_HSCROLL(), handle_WM_VSCROLL(), HEADER_NotifyCodeWtoA(), HEADER_SendNotify(), HLPFILE_Uncompress2(), iso_connect(), jpeg_huff_decode(), jpeg_make_c_derived_tbl(), jpeg_make_d_derived_tbl(), JScriptParse_ParseScriptText(), JScriptParseProcedure_ParseProcedureText(), JSGlobal_eval(), QMyScrollView::keyPressEvent(), QMyScrollView::keyReleaseEvent(), lznt1_decompress_chunk(), marshal_nfs41_dirquery(), marshal_nfs41_rw(), ME_HandleMessage(), mi_check_modifier(), mi_read_keyboard_state(), MonSelNotify(), MonthCalNotifyControlParent(), navigate_javascript_proc(), notify_hdr(), NotifyControlParent(), TKeyDef::operator=(), parse_option_buffer(), pcf_cmap_char_index(), pcf_cmap_char_next(), pfr_lookup_bitmap_data(), pretty_print_option(), process_nibble(), process_plane(), progress_callback_http(), push_error(), ReadChmSystem(), REBAR_Notify(), remove_product_upgrade_code(), STATUSBAR_SendMouseNotify(), store_options(), StringConstr_fromCharCode(), SYSLINK_SendParentNotify(), t1_cmap_std_char_index(), TAB_SendSimpleNotify(), test_bitmap_font_glyph_index(), test_domdoc(), test_exec_script(), test_ExitCode(), test_GetCharABCWidths(), test_Handles(), test_media_event(), test_timers_exception(), test_WM_GETDLGCODE(), TKeyDef::TKeyDef(), TOOLBAR_SendNotify(), tr_static_init(), trace_extended_error(), TREEVIEW_ScrollKeyDown(), tt_name_ascii_from_other(), tt_name_ascii_from_utf16(), unmarshal_nfs41_dirquery(), unmarshal_nfs41_rw(), VBScriptParse_ParseScriptText(), and WshExec_get_Status().

◆ connected

◆ cpend

int cpend

Definition at line 103 of file main.c.

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

◆ crflag

int crflag

Definition at line 76 of file main.c.

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

◆ debug

int debug

Definition at line 64 of file main.c.

◆ doglob

int doglob

Definition at line 66 of file main.c.

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

◆ form

◆ formname

char formname[32]

Definition at line 88 of file main.c.

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

◆ fromatty

int fromatty

Definition at line 62 of file main.c.

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

◆ hash

Definition at line 58 of file main.c.

Referenced by add_file_hash(), add_keyitem_pair(), AddStringToHash(), BCryptCreateHash(), CDecodeSignedMsg_VerifySignatureWithKey(), checkCRLHash(), checkHash(), compare_cert_by_md5_hash(), compare_cert_by_sha1_hash(), compare_ctl_by_md5_hash(), compare_ctl_by_sha1_hash(), create_silly_rename(), CRYPT_CheckBasicConstraintsForCA(), CRYPT_FindCertInStore(), CRYPT_RegReadSerializedFromReg(), CRYPT_SerializeContextsToReg(), CRYPT_VerifySignature(), CryptCATAdminCalcHashFromFileHandle(), CryptCreateHash(), CRYPTDLG_IsCertAllowed(), CryptSignAndEncodeCertificate(), CSignedMsgData_Sign(), ctl2_hash_guid(), delete_file_hash(), file_hash_matches(), find_file_in_dir(), find_window_class(), FindOrAddString(), ftc_cache_add(), FTC_CMapCache_Lookup(), FTC_ImageCache_Lookup(), FTC_ImageCache_LookupScaler(), FTC_SBitCache_Lookup(), FTC_SBitCache_LookupScaler(), get_keyitem_pair(), hash_dib(), hash_Ly(), hash_Ly_W(), hash_table_add(), HlinkCreateFromString(), HLPFILE_AllocLink(), HTMLLocation_get_hash(), Lookup(), mknod(), nfs41_client_owner(), open_fcb(), query_directory(), remglob(), s_hash_bstr(), sethash(), SoftpubAuthenticode(), StringHash(), test_anti_moniker(), test_calchash(), test_class_moniker(), test_communication(), test_CredUnmarshalCredentialA(), test_DrawDib_sizeimage(), test_generic_composite_moniker(), test_hash_value(), test_import_hmac(), test_item_moniker(), test_md5(), test_MsiGetFileHash(), test_pointer_moniker(), test_RtlHashUnicodeString(), test_sha1(), test_sha256(), test_sha384(), test_sha512(), test_verify_detached_message_hash(), test_verify_sig(), testAddSerialized(), testCertProperties(), testCRLProperties(), testCryptHashCert(), testRegStore(), verifySig(), vfatNameHash(), WMSFT_compile_names(), write_metadata_items(), xmlDictComputeBigKey(), xmlDictComputeBigQKey(), ZSTD_fillHashTable(), ZSTD_ldm_insertEntry(), ZSTD_rollingHash_append(), and ZSTD_rollingHash_rotate().

◆ interactive

int interactive

Definition at line 63 of file main.c.

◆ line

char line[200]

Definition at line 97 of file main.c.

Referenced by makeargv().

◆ macbuf

char macbuf[4096]

Definition at line 110 of file main.c.

Referenced by macdef(), and ruserpass().

◆ macnum

int macnum

Definition at line 108 of file main.c.

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

◆ macros

struct macel macros[16]

Definition at line 109 of file main.c.

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

◆ mapflag

int mapflag

Definition at line 74 of file main.c.

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

◆ mapin

char mapin[MAXPATHLEN]

Definition at line 82 of file main.c.

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

◆ mapout

char mapout[MAXPATHLEN]

Definition at line 83 of file main.c.

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

◆ margc

◆ margv

◆ mcase

int mcase

Definition at line 72 of file main.c.

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

◆ mflag

int mflag

Definition at line 66 of file finger.c.

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

◆ mode

Definition at line 91 of file main.c.

◆ modename

char modename[32]

Definition at line 90 of file main.c.

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

◆ ntflag

int ntflag

Definition at line 73 of file main.c.

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

◆ ntin

char ntin[17]

Definition at line 79 of file main.c.

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

◆ ntout

char ntout[17]

Definition at line 80 of file main.c.

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

◆ options

◆ passivemode

int passivemode

Definition at line 68 of file main.c.

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

◆ pasv

char pasv[64]

Definition at line 77 of file main.c.

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

◆ proxflag

int proxflag

Definition at line 69 of file main.c.

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

◆ proxy

◆ runique

int runique

Definition at line 71 of file main.c.

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

◆ sendport

int sendport

Definition at line 117 of file main.c.

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

◆ stringbase

char* stringbase

Definition at line 98 of file main.c.

Referenced by makeargv(), and slurpstring().

◆ stru

int stru

Definition at line 87 of file main.c.

Referenced by main().

◆ structname

char structname[32]

Definition at line 86 of file main.c.

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

◆ sunique

int sunique

Definition at line 70 of file main.c.

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

◆ toplevel

jmp_buf toplevel

◆ trace

◆ type

◆ typename

char typename[32]

Definition at line 84 of file main.c.

Referenced by of_type().

◆ verbose

int verbose

Definition at line 60 of file main.c.