ReactOS 0.4.16-dev-88-ga65b6ae
FTPConnectionInfo Struct Reference

#include <ncftp.h>

Collaboration diagram for FTPConnectionInfo:

Public Attributes

char magic [16]
 
char host [64]
 
char user [64]
 
char pass [64]
 
char acct [64]
 
unsigned int port
 
unsigned int xferTimeout
 
unsigned int connTimeout
 
unsigned int ctrlTimeout
 
unsigned int abortTimeout
 
FILEdebugLog
 
FILEerrLog
 
FTPLogProc debugLogProc
 
FTPLogProc errLogProc
 
FTPLIPtr lip
 
int maxDials
 
int redialDelay
 
int dataPortMode
 
char actualHost [64]
 
char ip [32]
 
int connected
 
int loggedIn
 
int curTransferType
 
charstartingWorkingDirectory
 
longest_int startPoint
 
int hasPASV
 
int hasSIZE
 
int hasMDTM
 
int hasREST
 
int hasNLST_d
 
int hasUTIME
 
int hasFEAT
 
int hasMLSD
 
int hasMLST
 
int usedMLS
 
int hasCLNT
 
int hasRETRBUFSIZE
 
int hasRBUFSIZ
 
int hasRBUFSZ
 
int hasSTORBUFSIZE
 
int hasSBUFSIZ
 
int hasSBUFSZ
 
int hasBUFSIZE
 
int mlsFeatures
 
int STATfileParamWorks
 
int NLSTfileParamWorks
 
struct sockaddr_in servCtlAddr
 
struct sockaddr_in servDataAddr
 
struct sockaddr_in ourCtlAddr
 
struct sockaddr_in ourDataAddr
 
int netMode
 
charbuf
 
size_t bufSize
 
FILEcin
 
FILEcout
 
int ctrlSocketR
 
int ctrlSocketW
 
int dataSocket
 
int errNo
 
unsigned short ephemLo
 
unsigned short ephemHi
 
int cancelXfer
 
longest_int bytesTransferred
 
FTPProgressMeterProc progress
 
int useProgressMeter
 
int leavePass
 
double sec
 
double secLeft
 
double kBytesPerSec
 
double percentCompleted
 
longest_int expectedSize
 
time_t mdtm
 
time_t nextProgressUpdate
 
const charrname
 
const charlname
 
struct timeval t0
 
int stalled
 
int dataTimedOut
 
int eofOkay
 
char lastFTPCmdResultStr [128]
 
LineList lastFTPCmdResultLL
 
int lastFTPCmdResultNum
 
char firewallHost [64]
 
char firewallUser [64]
 
char firewallPass [64]
 
unsigned int firewallPort
 
int firewallType
 
int require20
 
int usingTAR
 
FTPConnectMessageProc onConnectMsgProc
 
FTPRedialStatusProc redialStatusProc
 
FTPPrintResponseProc printResponseProc
 
FTPLoginMessageProc onLoginMsgProc
 
size_t ctrlSocketRBufSize
 
size_t ctrlSocketSBufSize
 
size_t dataSocketRBufSize
 
size_t dataSocketSBufSize
 
int serverType
 
int ietfCompatLevel
 
int numDownloads
 
int numUploads
 
int numListings
 
int doNotGetStartingWorkingDirectory
 
char srlBuf [768]
 
SReadlineInfo ctrlSrl
 
FTPGetPassphraseProc passphraseProc
 
int iUser
 
voidpUser
 
longest_int llUser
 
const charasciiFilenameExtensions
 
int reserved [32]
 

Detailed Description

Definition at line 134 of file ncftp.h.

Member Data Documentation

◆ abortTimeout

unsigned int FTPConnectionInfo::abortTimeout

Definition at line 144 of file ncftp.h.

Referenced by FTPAbortDataTransfer(), and FTPInitConnectionInfo().

◆ acct

char FTPConnectionInfo::acct[64]

Definition at line 139 of file ncftp.h.

Referenced by CurrentURL(), FillBookmarkInfo(), FTPLoginHost(), main(), OpenCmd(), and SetStartupURL().

◆ actualHost

char FTPConnectionInfo::actualHost[64]

Definition at line 153 of file ncftp.h.

Referenced by OpenControlConnection().

◆ asciiFilenameExtensions

const char* FTPConnectionInfo::asciiFilenameExtensions

◆ buf

◆ bufSize

◆ bytesTransferred

longest_int FTPConnectionInfo::bytesTransferred

◆ cancelXfer

int FTPConnectionInfo::cancelXfer

◆ cin

FILE* FTPConnectionInfo::cin

◆ connected

◆ connTimeout

◆ cout

FILE* FTPConnectionInfo::cout

◆ ctrlSocketR

int FTPConnectionInfo::ctrlSocketR

◆ ctrlSocketRBufSize

size_t FTPConnectionInfo::ctrlSocketRBufSize

Definition at line 228 of file ncftp.h.

Referenced by OpenControlConnection().

◆ ctrlSocketSBufSize

size_t FTPConnectionInfo::ctrlSocketSBufSize

Definition at line 229 of file ncftp.h.

Referenced by OpenControlConnection().

◆ ctrlSocketW

◆ ctrlSrl

SReadlineInfo FTPConnectionInfo::ctrlSrl

◆ ctrlTimeout

◆ curTransferType

int FTPConnectionInfo::curTransferType

Definition at line 157 of file ncftp.h.

Referenced by FTPLoginHost(), FTPSetTransferType(), and TypeCmd().

◆ dataPortMode

◆ dataSocket

◆ dataSocketRBufSize

size_t FTPConnectionInfo::dataSocketRBufSize

Definition at line 230 of file ncftp.h.

Referenced by FTPGetOneF(), InitConnectionInfo(), OpenDataConnection(), and SetSOBufsize().

◆ dataSocketSBufSize

size_t FTPConnectionInfo::dataSocketSBufSize

Definition at line 231 of file ncftp.h.

Referenced by FTPGetOneF(), FTPPutOneF(), InitConnectionInfo(), OpenDataConnection(), and SetSOBufsize().

◆ dataTimedOut

int FTPConnectionInfo::dataTimedOut

Definition at line 212 of file ncftp.h.

Referenced by FTPInitIOTimer(), GetResponse(), WaitForRemoteInput(), and WaitForRemoteOutput().

◆ debugLog

FILE* FTPConnectionInfo::debugLog

Definition at line 145 of file ncftp.h.

Referenced by Error(), FTPRebuildConnectionInfo(), InitConnectionInfo(), PrintF(), and UseTrace().

◆ debugLogProc

FTPLogProc FTPConnectionInfo::debugLogProc

Definition at line 147 of file ncftp.h.

Referenced by Error(), FTPRebuildConnectionInfo(), PrintF(), and UseTrace().

◆ doNotGetStartingWorkingDirectory

int FTPConnectionInfo::doNotGetStartingWorkingDirectory

Definition at line 237 of file ncftp.h.

Referenced by FTPLoginHost().

◆ eofOkay

int FTPConnectionInfo::eofOkay

Definition at line 213 of file ncftp.h.

Referenced by FTPCloseHost().

◆ ephemHi

unsigned short FTPConnectionInfo::ephemHi

Definition at line 195 of file ncftp.h.

Referenced by OpenDataConnection().

◆ ephemLo

unsigned short FTPConnectionInfo::ephemLo

Definition at line 194 of file ncftp.h.

Referenced by OpenDataConnection().

◆ errLog

FILE* FTPConnectionInfo::errLog

Definition at line 146 of file ncftp.h.

Referenced by Error(), FTPRebuildConnectionInfo(), InitConnectionInfo(), and UseTrace().

◆ errLogProc

FTPLogProc FTPConnectionInfo::errLogProc

Definition at line 148 of file ncftp.h.

Referenced by Error(), FTPRebuildConnectionInfo(), and UseTrace().

◆ errNo

◆ expectedSize

longest_int FTPConnectionInfo::expectedSize

◆ firewallHost

char FTPConnectionInfo::firewallHost[64]

Definition at line 217 of file ncftp.h.

Referenced by DoOpen(), OpenCmd(), OpenControlConnection(), and SetStartupURL().

◆ firewallPass

char FTPConnectionInfo::firewallPass[64]

Definition at line 219 of file ncftp.h.

Referenced by DoOpen(), FTPLoginHost(), OpenCmd(), and SetStartupURL().

◆ firewallPort

unsigned int FTPConnectionInfo::firewallPort

Definition at line 220 of file ncftp.h.

Referenced by DoOpen(), FTPInitConnectionInfo(), OpenCmd(), OpenControlConnection(), and SetStartupURL().

◆ firewallType

int FTPConnectionInfo::firewallType

◆ firewallUser

char FTPConnectionInfo::firewallUser[64]

Definition at line 218 of file ncftp.h.

Referenced by DoOpen(), FTPLoginHost(), OpenCmd(), and SetStartupURL().

◆ hasBUFSIZE

int FTPConnectionInfo::hasBUFSIZE

Definition at line 177 of file ncftp.h.

Referenced by FTPGetOneF(), FTPPutOneF(), and FTPQueryFeatures().

◆ hasCLNT

int FTPConnectionInfo::hasCLNT

Definition at line 170 of file ncftp.h.

Referenced by DoOpen(), FTPInitConnectionInfo(), and FTPQueryFeatures().

◆ hasFEAT

int FTPConnectionInfo::hasFEAT

Definition at line 166 of file ncftp.h.

Referenced by FTPInitConnectionInfo(), and FTPQueryFeatures().

◆ hasMDTM

int FTPConnectionInfo::hasMDTM

◆ hasMLSD

int FTPConnectionInfo::hasMLSD

Definition at line 167 of file ncftp.h.

Referenced by FTPInitConnectionInfo(), FTPListToMemory2(), and FTPQueryFeatures().

◆ hasMLST

int FTPConnectionInfo::hasMLST

◆ hasNLST_d

int FTPConnectionInfo::hasNLST_d

Definition at line 164 of file ncftp.h.

Referenced by FTPInitConnectionInfo().

◆ hasPASV

int FTPConnectionInfo::hasPASV

◆ hasRBUFSIZ

int FTPConnectionInfo::hasRBUFSIZ

Definition at line 172 of file ncftp.h.

Referenced by FTPGetOneF(), FTPInitConnectionInfo(), and FTPQueryFeatures().

◆ hasRBUFSZ

int FTPConnectionInfo::hasRBUFSZ

Definition at line 173 of file ncftp.h.

Referenced by FTPGetOneF(), FTPInitConnectionInfo(), FTPPutOneF(), and FTPQueryFeatures().

◆ hasREST

◆ hasRETRBUFSIZE

int FTPConnectionInfo::hasRETRBUFSIZE

Definition at line 171 of file ncftp.h.

Referenced by FTPGetOneF(), FTPInitConnectionInfo(), and FTPQueryFeatures().

◆ hasSBUFSIZ

int FTPConnectionInfo::hasSBUFSIZ

Definition at line 175 of file ncftp.h.

Referenced by FTPInitConnectionInfo(), FTPPutOneF(), and FTPQueryFeatures().

◆ hasSBUFSZ

int FTPConnectionInfo::hasSBUFSZ

Definition at line 176 of file ncftp.h.

Referenced by FTPInitConnectionInfo(), FTPPutOneF(), and FTPQueryFeatures().

◆ hasSIZE

int FTPConnectionInfo::hasSIZE

◆ hasSTORBUFSIZE

int FTPConnectionInfo::hasSTORBUFSIZE

Definition at line 174 of file ncftp.h.

Referenced by FTPInitConnectionInfo(), FTPPutOneF(), and FTPQueryFeatures().

◆ hasUTIME

int FTPConnectionInfo::hasUTIME

◆ host

◆ ietfCompatLevel

int FTPConnectionInfo::ietfCompatLevel

Definition at line 233 of file ncftp.h.

Referenced by FTPMListOneFile(), and FTPQueryFeatures().

◆ ip

char FTPConnectionInfo::ip[32]

Definition at line 154 of file ncftp.h.

Referenced by FillBookmarkInfo(), OpenControlConnection(), SpoolGetCmd(), and SpoolPutCmd().

◆ iUser

int FTPConnectionInfo::iUser

Definition at line 243 of file ncftp.h.

◆ kBytesPerSec

double FTPConnectionInfo::kBytesPerSec

Definition at line 203 of file ncftp.h.

Referenced by FTPInitIOTimer(), FTPUpdateIOTimer(), PrPhilBar(), PrSizeAndRateMeter(), and PrStatBar().

◆ lastFTPCmdResultLL

LineList FTPConnectionInfo::lastFTPCmdResultLL

◆ lastFTPCmdResultNum

int FTPConnectionInfo::lastFTPCmdResultNum

Definition at line 216 of file ncftp.h.

Referenced by SaveLastResponse(), and SendCommand().

◆ lastFTPCmdResultStr

char FTPConnectionInfo::lastFTPCmdResultStr[128]

Definition at line 214 of file ncftp.h.

Referenced by FTPMkdir2(), FTPPerror(), SaveLastResponse(), and SendCommand().

◆ leavePass

int FTPConnectionInfo::leavePass

Definition at line 200 of file ncftp.h.

Referenced by FTPLoginHost(), and InitConnectionInfo().

◆ lip

FTPLIPtr FTPConnectionInfo::lip

◆ llUser

longest_int FTPConnectionInfo::llUser

Definition at line 245 of file ncftp.h.

◆ lname

const char* FTPConnectionInfo::lname

◆ loggedIn

int FTPConnectionInfo::loggedIn

Definition at line 156 of file ncftp.h.

Referenced by CloseControlConnection(), CloseHost(), FTPLoginHost(), and MakePrompt().

◆ magic

◆ maxDials

int FTPConnectionInfo::maxDials

◆ mdtm

time_t FTPConnectionInfo::mdtm

Definition at line 206 of file ncftp.h.

Referenced by FTPGetOneF(), FTPInitIOTimer(), and FTPPutOneF().

◆ mlsFeatures

int FTPConnectionInfo::mlsFeatures

Definition at line 178 of file ncftp.h.

Referenced by FTPExamineMlstFeatures(), and FTPRequestMlsOptions().

◆ netMode

int FTPConnectionInfo::netMode

Definition at line 185 of file ncftp.h.

Referenced by FTPStartDataCmd(), PrPhilBar(), PrSizeAndRateMeter(), and PrStatBar().

◆ nextProgressUpdate

time_t FTPConnectionInfo::nextProgressUpdate

Definition at line 207 of file ncftp.h.

Referenced by FTPInitIOTimer(), FTPStopIOTimer(), and FTPUpdateIOTimer().

◆ NLSTfileParamWorks

int FTPConnectionInfo::NLSTfileParamWorks

Definition at line 180 of file ncftp.h.

Referenced by FTPFileExistsNlst(), FTPInitConnectionInfo(), and FTPQueryFeatures().

◆ numDownloads

int FTPConnectionInfo::numDownloads

Definition at line 234 of file ncftp.h.

Referenced by FTPGetOneF().

◆ numListings

int FTPConnectionInfo::numListings

Definition at line 236 of file ncftp.h.

Referenced by FTPList(), and FTPListToMemory2().

◆ numUploads

int FTPConnectionInfo::numUploads

Definition at line 235 of file ncftp.h.

Referenced by FTPPutOneF().

◆ onConnectMsgProc

FTPConnectMessageProc FTPConnectionInfo::onConnectMsgProc

Definition at line 224 of file ncftp.h.

Referenced by DoOpen(), FTPRebuildConnectionInfo(), and OpenControlConnection().

◆ onLoginMsgProc

FTPLoginMessageProc FTPConnectionInfo::onLoginMsgProc

Definition at line 227 of file ncftp.h.

Referenced by DoOpen(), FTPLoginHost(), and FTPRebuildConnectionInfo().

◆ ourCtlAddr

struct sockaddr_in FTPConnectionInfo::ourCtlAddr

Definition at line 183 of file ncftp.h.

Referenced by OpenControlConnection(), and OpenDataConnection().

◆ ourDataAddr

struct sockaddr_in FTPConnectionInfo::ourDataAddr

Definition at line 184 of file ncftp.h.

Referenced by CloseDataConnection(), and OpenDataConnection().

◆ pass

◆ passphraseProc

FTPGetPassphraseProc FTPConnectionInfo::passphraseProc

Definition at line 242 of file ncftp.h.

Referenced by DoOpen(), FTPLoginHost(), and FTPRebuildConnectionInfo().

◆ percentCompleted

double FTPConnectionInfo::percentCompleted

Definition at line 204 of file ncftp.h.

Referenced by FTPInitIOTimer(), FTPUpdateIOTimer(), PrPhilBar(), and PrStatBar().

◆ port

◆ printResponseProc

FTPPrintResponseProc FTPConnectionInfo::printResponseProc

Definition at line 226 of file ncftp.h.

Referenced by DoneWithResponse(), DoOpen(), FTPRebuildConnectionInfo(), and ReInitResponse().

◆ progress

◆ pUser

void* FTPConnectionInfo::pUser

Definition at line 244 of file ncftp.h.

◆ redialDelay

int FTPConnectionInfo::redialDelay

◆ redialStatusProc

FTPRedialStatusProc FTPConnectionInfo::redialStatusProc

Definition at line 225 of file ncftp.h.

Referenced by DoOpen(), FTPOpenHost(), FTPOpenHostNoLogin(), and FTPRebuildConnectionInfo().

◆ require20

int FTPConnectionInfo::require20

Definition at line 222 of file ncftp.h.

Referenced by AcceptDataConnection().

◆ reserved

int FTPConnectionInfo::reserved[32]

Definition at line 247 of file ncftp.h.

◆ rname

const char* FTPConnectionInfo::rname

◆ sec

double FTPConnectionInfo::sec

Definition at line 201 of file ncftp.h.

Referenced by FTPInitIOTimer(), FTPUpdateIOTimer(), and PrPhilBar().

◆ secLeft

double FTPConnectionInfo::secLeft

Definition at line 202 of file ncftp.h.

Referenced by FTPInitIOTimer(), FTPUpdateIOTimer(), PrPhilBar(), and PrStatBar().

◆ servCtlAddr

struct sockaddr_in FTPConnectionInfo::servCtlAddr

Definition at line 181 of file ncftp.h.

Referenced by AcceptDataConnection(), OpenControlConnection(), and OpenDataConnection().

◆ servDataAddr

struct sockaddr_in FTPConnectionInfo::servDataAddr

Definition at line 182 of file ncftp.h.

Referenced by AcceptDataConnection(), CloseDataConnection(), and OpenDataConnection().

◆ serverType

int FTPConnectionInfo::serverType

◆ srlBuf

char FTPConnectionInfo::srlBuf[768]

Definition at line 239 of file ncftp.h.

Referenced by FTPRebuildConnectionInfo(), and OpenControlConnection().

◆ stalled

int FTPConnectionInfo::stalled

Definition at line 211 of file ncftp.h.

Referenced by FTPInitIOTimer(), PrStatBar(), WaitForRemoteInput(), and WaitForRemoteOutput().

◆ startingWorkingDirectory

◆ startPoint

longest_int FTPConnectionInfo::startPoint

◆ STATfileParamWorks

int FTPConnectionInfo::STATfileParamWorks

Definition at line 179 of file ncftp.h.

Referenced by FTPFileExistsStat(), and FTPInitConnectionInfo().

◆ t0

struct timeval FTPConnectionInfo::t0

Definition at line 210 of file ncftp.h.

Referenced by FTPInitIOTimer(), FTPStartIOTimer(), and FTPUpdateIOTimer().

◆ usedMLS

int FTPConnectionInfo::usedMLS

Definition at line 169 of file ncftp.h.

Referenced by FTPRequestMlsOptions().

◆ useProgressMeter

int FTPConnectionInfo::useProgressMeter

◆ user

◆ usingTAR

int FTPConnectionInfo::usingTAR

Definition at line 223 of file ncftp.h.

Referenced by FTPGetOneF(), FTPPutOneF(), and PrSizeAndRateMeter().

◆ xferTimeout


The documentation for this struct was generated from the following file: