ReactOS  0.4.12-dev-102-g4b7f1e0
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.

Referenced by login(), recvrequest(), renamefile(), sendrequest(), and user().

◆ DM

#define DM   242

Definition at line 26 of file ftp_var.h.

Referenced by DrvGetModes(), proxtrans(), recvrequest(), and SendTelnetInterrupt().

◆ DO

#define DO   253

Definition at line 15 of file ftp_var.h.

Referenced by DoTelnetHandshake(), getreply(), TTelnetHandler::ParseIAC(), and ReInitResponse().

◆ DONT

#define DONT   254

Definition at line 14 of file ftp_var.h.

Referenced by DoTelnetHandshake(), getreply(), TTelnetHandler::ParseIAC(), and ReInitResponse().

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

Referenced by main().

◆ 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

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

Referenced by domap(), dotrans(), FTPGetLocalCWD(), getit(), lcd(), main(), mget(), mput(), pswitch(), remglob(), reset(), and setnmap().

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

Referenced by main().

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

Referenced by proxtrans(), quote(), recvrequest(), sendrequest(), and site().

◆ SB

#define SB   250

Definition at line 18 of file ftp_var.h.

Referenced by DoTelnetHandshake(), naws_string(), and TTelnetHandler::ParseIAC().

◆ SE

#define SE   240

Definition at line 28 of file ftp_var.h.

Referenced by DoTelnetHandshake(), naws_string(), and TTelnetHandler::ParseIAC().

◆ STRU_F

#define STRU_F   1

Definition at line 50 of file ftp_var.h.

Referenced by main().

◆ 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

◆ TYPE_E

#define TYPE_E   'E'

Definition at line 38 of file ftp_var.h.

Referenced by proxtrans(), and recvrequest().

◆ TYPE_I

#define TYPE_I   'I'

Definition at line 37 of file ftp_var.h.

Referenced by proxtrans(), recvrequest(), and sendrequest().

◆ TYPE_L

#define TYPE_L   'L'

Definition at line 39 of file ftp_var.h.

Referenced by proxtrans(), recvrequest(), and sendrequest().

◆ WILL

#define WILL   251

Definition at line 17 of file ftp_var.h.

Referenced by DoTelnetHandshake(), getreply(), TTelnetHandler::ParseIAC(), and ReInitResponse().

◆ WONT

#define WONT   252

Definition at line 16 of file ftp_var.h.

Referenced by DoTelnetHandshake(), getreply(), TTelnetHandler::ParseIAC(), and ReInitResponse().

◆ 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

static void int code

Definition at line 3591 of file i386-dis.c.

Referenced by _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(), COMBOEX_Notify(), compile_script(), compress_block(), construct_function(), create_parseError(), create_source_function(), CreateCaseDiff(), DATETIME_SendSimpleNotify(), decode_source(), DetectJapaneseCode(), dll_entry_point(), emit_catch_jmp(), ERR_getErrorCode(), Ext2DeviceControl(), extract_test(), fetch_2d_texel_rgba_dxt5(), 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(), parse_script(), 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(), script_parse(), 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(), test_write_watch(), 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(), VBScriptParseProcedure_ParseProcedureText(), WshExec_get_Status(), xmlIOErrMemory(), and xmlReportError().

◆ 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(), getit(), main(), mdelete(), mget(), mls(), and mput().

◆ hash

Definition at line 58 of file main.c.

Referenced by __report_error(), _mesa_init_get_hash(), add_dirent_to_buf(), add_file_hash(), AddStringToHash(), assembly_get_pubkey_token(), 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_VerifySignature(), CryptCATAdminCalcHashFromFileHandle(), CryptCreateHash(), CRYPTDLG_IsCertAllowed(), CryptSignAndEncodeCertificate(), CSignedMsgData_Sign(), ctl2_hash_guid(), delete_file_hash(), find_file_in_dir(), find_value(), find_window_class(), FindOrAddString(), ftc_cache_add(), FTC_CMapCache_Lookup(), FTC_ImageCache_Lookup(), FTC_ImageCache_LookupScaler(), FTC_SBitCache_Lookup(), FTC_SBitCache_LookupScaler(), hash_dib(), hash_Ly(), hash_Ly_W(), hash_table_add(), HlinkCreateFromString(), HLPFILE_AllocLink(), HTMLLocation_get_hash(), InsertPageEntry(), Lookup(), msi_file_hash_matches(), nfs41_client_owner(), PpcVirt2phys(), query_directory(), reg_const(), reg_type(), 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(), and ZSTD_ldm_updateHash().

◆ 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 _bdf_is_atom(), _bdf_parse_properties(), _test_invalid_parameter(), ActiveScriptSite_OnScriptError(), add_line(), add_message_(), bitmap_decompress1(), bitmap_decompress2(), bitmap_decompress3(), call_ica_hw_interrupt(), ClrLineSerial(), cmd_call(), config_parse_pair(), create_parseError(), CreateCaseDiff(), FstreamTest::custom_facet(), DIALOG_StatusBarUpdateCaretPos(), DoCommand(), domacro(), DrawTextExWorker(), EDIT_EM_LineFromChar(), EDIT_PaintLine(), error(), expand_input(), find_line(), fnIMLangLineBreakConsole_BreakLineA(), ft_bitmap_assure_buffer(), ft_smooth_render_generic(), get_string_subst(), gtStripContig(), gtStripSeparate(), gtTileContig(), gtTileSeparate(), hexdump(), HEXEDIT_PaintLines(), inf_process_content(), inf_value_parse(), init_leases_list(), InitLogo(), InvertLineSerial(), Load_CP2Unicode_Table(), Load_OEM2Unicode_Table(), main(), makeargv(), MakeArgv(), memp_malloc(), msi_parse_line(), CTrayClockWnd::OnPaint(), ParseHostLine(), print_glsl_info_log(), ProcessFirewallPrefFile(), ProcessPrefsFile(), processRegLines(), processRegLinesA(), processRegLinesW(), processSetValue(), proclog(), hhp_reader::read(), read_dependencies(), read_platform_entry(), Bookmark::read_url(), read_version_entry(), Readline(), readline(), run_thread(), segment(), set_ldids(), set_location(), setup_test(), SetupFindNextMatchLineW(), SetupGetLineTextA(), SetupGetLineTextW(), shader_arb_compile(), shader_glsl_compile(), shader_glsl_dump_program_source(), shader_sm1_read_comment(), stabs_pts_push(), test_getgamma(), test_key_names(), test_penfilltype(), test_transform(), txt_get_glyph_table(), txt_get_header(), txt_get_mb_table(), txt_get_wc_table(), UDFExtentToMapping_(), UnDosLine(), value_get_str_field(), widl_getline(), FstreamTest::win32_file_format(), xkeymap_read(), xmlMallocAtomicLoc(), xmlMallocLoc(), xmlMemStrdupLoc(), xmlParseAttValueInternal(), xmlParseCharData(), xmlParseElement(), xmlReallocLoc(), and xmlReportError().

◆ 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 getit(), 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

Definition at line 95 of file main.c.

Referenced by intr(), and main().

◆ trace

int trace

Definition at line 57 of file main.c.

Referenced by main(), testEnumerateSecurityPackages(), and testQuerySecurityPackageInfo().

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