ReactOS 0.4.16-dev-973-g9a0ff8b
|
#include <stdio.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "ncftp_errno.h"
Go to the source code of this file.
Classes | |
struct | Line |
struct | LineList |
struct | Response |
struct | SReadlineInfo |
struct | FTPLibraryInfo |
struct | FTPConnectionInfo |
struct | FileInfo |
struct | FileInfoList |
struct | MLstItem |
Variables | |
char | gLibNcFTPVersion [64] |
int | gLibNcFTP_Uses_Me_To_Quiet_Variable_Unused_Warnings |
#define kDefaultDataPortMode kSendPortMode |
#define kFirewallLastType kFirewallUserAtSiteFwuPassFwp |
#define kLibraryVersion "@(#) LibNcFTP 3.0.6 (April 14, 2001)" |
#define kNetReading kAcceptForReading |
#define kNetWriting kAcceptForWriting |
#define kPreferredMlsOpts (kMlsOptType | kMlsOptSize | kMlsOptModify | kMlsOptUNIXmode | kMlsOptUNIXowner | kMlsOptUNIXgroup | kMlsOptUNIXuid | kMlsOptUNIXgid | kMlsOptPerm) |
#define kSizeUnknown ((longest_int) (-1)) |
#define kSuggestedDefaultCtrlTimeout 135 /* 2*MSL, + slop */ |
#define LIBNCFTP_USE_VAR | ( | a | ) | gLibNcFTP_Uses_Me_To_Quiet_Variable_Unused_Warnings = (a == 0) |
#define NoConfirmResumeDownloadProc ((ConfirmResumeDownloadProc) 0) |
#define NoConfirmResumeUploadProc ((ConfirmResumeUploadProc) 0) |
#define NoGetPassphraseProc ((FTPGetPassphraseProc) 0) |
#define StrFindLocalPathDelim | ( | a | ) | strchr(a, LOCAL_PATH_DELIM) |
#define StrRemoveTrailingLocalPathDelim StrRemoveTrailingSlashes |
#define StrRFindLocalPathDelim | ( | a | ) | strrchr(a, LOCAL_PATH_DELIM) |
typedef struct FileInfoList FileInfoList |
typedef struct FileInfoList * FileInfoListPtr |
typedef struct FileInfo* FileInfoPtr |
typedef struct FileInfo ** FileInfoVec |
typedef struct FTPConnectionInfo* FTPCIPtr |
typedef struct FTPConnectionInfo FTPConnectionInfo |
typedef void(* FTPConnectMessageProc) (const FTPCIPtr, ResponsePtr) |
typedef struct FTPLibraryInfo FTPLibraryInfo |
typedef struct FTPLibraryInfo * FTPLIPtr |
typedef void(* FTPLoginMessageProc) (const FTPCIPtr, ResponsePtr) |
typedef void(* FTPPrintResponseProc) (const FTPCIPtr, ResponsePtr) |
typedef struct LineList * LineListPtr |
typedef struct MLstItem * MLstItemPtr |
typedef struct Response * ResponsePtr |
typedef struct SReadlineInfo SReadlineInfo |
FileInfoPtr AddFileInfo | ( | FileInfoListPtr | list, |
FileInfoPtr | src | ||
) |
Definition at line 530 of file linelist.c.
Referenced by ConcatFileInfoList(), ConcatFileToFileInfoList(), FTPLocalRecursiveFileList2(), Traverse(), UnLslR(), and UnMlsD().
LinePtr AddLine | ( | LineListPtr | list, |
const char * | buf1 | ||
) |
Definition at line 94 of file linelist.c.
Referenced by CopyLineList(), FTPDecodeURL(), FTPListToMemory2(), FTPLocalGlob(), FTPRemoteGlob(), GetResponse(), and LazyUnixLocalGlob().
int BufferGets | ( | char * | buf, |
size_t | bufsize, | ||
int | inStream, | ||
char * | secondaryBuf, | ||
char ** | secBufPtr, | ||
char ** | secBufLimit, | ||
size_t | secBufSize | ||
) |
Definition at line 978 of file rcmd.c.
Referenced by FTPList(), and FTPListToMemory2().
Definition at line 663 of file linelist.c.
Referenced by FTPGetFiles3(), and FTPPutFiles3().
Definition at line 579 of file linelist.c.
Referenced by FTPGetFiles3(), FTPPutFiles3(), FTPRemoteRecursiveFileList(), and FTPRemoteRecursiveFileList1().
int ConcatFileInfoList | ( | FileInfoListPtr | dst, |
FileInfoListPtr | src | ||
) |
Definition at line 556 of file linelist.c.
Referenced by FTPRemoteRecursiveFileList(), and FTPRemoteRecursiveFileList1().
int ConcatFileToFileInfoList | ( | FileInfoListPtr | dst, |
char * | rfile | ||
) |
Definition at line 740 of file linelist.c.
Referenced by FTPRemoteRecursiveFileList(), FTPRemoteRecursiveFileList1(), LineListToFileInfoList(), and LineToFileInfoList().
int CopyLineList | ( | LineListPtr | dst, |
LineListPtr | src | ||
) |
Definition at line 127 of file linelist.c.
Referenced by FTPRemoteHelp().
void DisposeFileInfoListContents | ( | FileInfoListPtr | list | ) |
Definition at line 152 of file linelist.c.
Referenced by FlushLsCacheItem(), FTPGetFiles3(), FTPPutFiles3(), FTPRemoteRecursiveFileList(), and FTPRemoteRecursiveFileList1().
void DisposeLineListContents | ( | LineListPtr | list | ) |
Definition at line 33 of file linelist.c.
Referenced by ChdirCmd(), CopyLineList(), DoneWithResponse(), EchoCmd(), FTPChmod(), FTPDeallocateHost(), FTPDelete(), FTPFileExistsNlst(), FTPFileExistsStat(), FTPFtwL2(), FTPGetFiles3(), FTPPutFiles3(), FTPRemoteRecursiveFileList(), FTPRemoteRecursiveFileList1(), FTPRmdir(), FTPRmdirRecursiveL2(), LocalRmCmd(), LocalRmdirCmd(), Ls(), OpenCmd(), ReInitResponse(), RGlobCmd(), RmtHelpCmd(), SaveLastResponse(), SpoolGetCmd(), and SpoolPutCmd().
void DoneWithResponse | ( | const | FTPCIPtr, |
ResponsePtr | rp | ||
) |
Definition at line 114 of file rcmd.c.
Referenced by FTPAbortDataTransfer(), FTPChdirAndGetCWD(), FTPCloseHost(), FTPCmd(), FTPEndDataCmd(), FTPFileExistsStat(), FTPFileModificationTime(), FTPFileSize(), FTPGetCWD(), FTPLoginHost(), FTPMListOneFile(), FTPQueryFeatures(), FTPRemoteHelp(), FTPStartDataCmd(), FTPUtime(), nFTPChdirAndGetCWD(), OpenControlConnection(), Passive(), SendPort(), and SetStartOffset().
Definition at line 111 of file util.c.
Referenced by GetBookmark(), GetNextBookmark(), LazyUnixLocalGlob(), OpenBookmarkFile(), PromptForBookmarkName(), PutBookmark(), and RunBookmarkEditor().
Definition at line 963 of file util.c.
Referenced by AutomaticallyUseASCIIModeDependingOnExtension().
Definition at line 870 of file rcmd.c.
Referenced by FTPCloseHost(), FTPGetOneF(), and FTPPutOneF().
Definition at line 11 of file cmds.c.
Referenced by FTPChdir3(), FTPFileExistsNlst(), FTPFileExistsStat(), FTPFileType(), FTPFtw(), FTPFtwL2(), FTPMkdir2(), FTPRemoteRecursiveFileList(), FTPRemoteRecursiveFileList1(), FTPRmdirRecursive(), FTPRmdirRecursiveL2(), OpenCmd(), and OpenURL().
int FTPChdir3 | ( | FTPCIPtr | cip, |
const char *const | cdCwd, | ||
char *const | newCwd, | ||
const size_t | newCwdSize, | ||
int | flags | ||
) |
Definition at line 376 of file cmds.c.
int FTPChdirAndGetCWD | ( | const FTPCIPtr | cip, |
const char *const | cdCwd, | ||
char *const | newCwd, | ||
const size_t | newCwdSize | ||
) |
Definition at line 313 of file cmds.c.
Referenced by FTPChdir3().
int FTPChmod | ( | const FTPCIPtr | cip, |
const char *const | pattern, | ||
const char *const | mode, | ||
const int | doGlob | ||
) |
Definition at line 46 of file cmds.c.
Referenced by ChmodCmd().
Definition at line 523 of file open.c.
Referenced by CloseHost(), and FTPOpenHost().
Definition at line 603 of file rcmd.c.
Referenced by DoOpen(), FTPChdir(), FTPChdir3(), FTPChmod(), FTPDelete(), FTPGetOneF(), FTPMkdir2(), FTPPutOneF(), FTPRename(), FTPRequestMlsOptions(), FTPRmdir(), FTPSetTransferType(), FTPSymlink(), FTPUmask(), QuoteCmd(), and SiteCmd().
Definition at line 656 of file rcmd.c.
Referenced by FTPAbortDataTransfer().
int FTPDecodeURL | ( | const FTPCIPtr | cip, |
char *const | url, | ||
LineListPtr | cdlist, | ||
char *const | fn, | ||
const size_t | fnsize, | ||
int *const | xtype, | ||
int *const | wantnlst | ||
) |
Definition at line 639 of file open.c.
Referenced by DecodeDirectoryURL().
int FTPDelete | ( | const FTPCIPtr | cip, |
const char *const | pattern, | ||
const int | recurse, | ||
const int | doGlob | ||
) |
Definition at line 195 of file cmds.c.
Referenced by DeleteCmd(), FTPGetOneF(), FTPPutOneF(), and FTPRmdirRecursiveL2().
Definition at line 933 of file rcmd.c.
Referenced by FTPGetOneF(), FTPList(), FTPListToMemory2(), FTPPutOneF(), and FTPStartDataCmd().
Definition at line 1423 of file cmds.c.
int FTPFileExists2 | ( | const FTPCIPtr | cip, |
const char *const | file, | ||
const int | tryMDTM, | ||
const int | trySIZE, | ||
const int | tryMLST, | ||
const int | trySTAT, | ||
const int | tryNLST | ||
) |
Definition at line 1350 of file cmds.c.
Referenced by FTPFileExists(), FTPFileType(), and FTPPutOneF().
Definition at line 1209 of file cmds.c.
Referenced by FTPFileExists2().
Definition at line 1008 of file cmds.c.
Referenced by FTPFileExists2().
Definition at line 649 of file cmds.c.
Referenced by FTPFileExists2(), FTPFileSizeAndModificationTime(), and FTPGetOneF().
int FTPFileSize | ( | const FTPCIPtr | cip, |
const char *const | file, | ||
longest_int *const | size, | ||
const int | type | ||
) |
Definition at line 887 of file cmds.c.
Referenced by FTPFileExists2(), and FTPFileSizeAndModificationTime().
int FTPFileSizeAndModificationTime | ( | const FTPCIPtr | cip, |
const char *const | file, | ||
longest_int *const | size, | ||
const int | type, | ||
time_t *const | mdtm | ||
) |
Definition at line 1433 of file cmds.c.
Referenced by FTPGetOneF(), and FTPPutOneF().
Definition at line 1475 of file cmds.c.
Referenced by FTPIsDir(), and FTPIsRegularFile().
Definition at line 1706 of file glob.c.
Definition at line 254 of file cmds.c.
Referenced by FTPChdir3(), FTPChdirAndGetCWD(), FTPFileExistsNlst(), FTPFileExistsStat(), FTPFileType(), FTPFtw(), FTPLoginHost(), FTPMkdir2(), FTPRemoteRecursiveFileList(), FTPRemoteRecursiveFileList1(), FTPRmdirRecursive(), nFTPChdirAndGetCWD(), OpenCmd(), OpenURL(), and PwdCmd().
int FTPGetFiles | ( | const FTPCIPtr | cip, |
const char *const | pattern, | ||
const char *const | dstdir, | ||
const int | recurse, | ||
const int | doGlob | ||
) |
Definition at line 2730 of file io.c.
int FTPGetFiles2 | ( | const FTPCIPtr | cip, |
const char *const | pattern, | ||
const char *const | dstdir, | ||
const int | recurse, | ||
const int | doGlob, | ||
const int | xtype, | ||
const int | resumeflag, | ||
const int | appendflag | ||
) |
Definition at line 2739 of file io.c.
int FTPGetFiles3 | ( | const FTPCIPtr | cip, |
const char * | pattern, | ||
const char *const | dstdir, | ||
const int | recurse, | ||
int | doGlob, | ||
const int | xtype, | ||
const int | resumeflag, | ||
int | appendflag, | ||
const int | deleteflag, | ||
const int | tarflag, | ||
const ConfirmResumeDownloadProc | resumeProc, | ||
int | reserved | ||
) |
int FTPGetFilesAscii | ( | const FTPCIPtr | cip, |
const char *const | pattern, | ||
const char *const | dstdir, | ||
const int | recurse, | ||
const int | doGlob | ||
) |
Definition at line 2757 of file io.c.
Definition at line 29 of file util.c.
Referenced by DoOpen(), LocalChdirCmd(), LocalPwdCmd(), PostInit(), SpoolGetCmd(), SpoolPutCmd(), and SpoolX().
Definition at line 2712 of file io.c.
int FTPGetOneFile2 | ( | const FTPCIPtr | cip, |
const char *const | file, | ||
const char *const | dstfile, | ||
const int | xtype, | ||
const int | fdtouse, | ||
const int | resumeflag, | ||
const int | appendflag | ||
) |
Definition at line 2721 of file io.c.
int FTPGetOneFile3 | ( | const FTPCIPtr | cip, |
const char *const | file, | ||
const char *const | dstfile, | ||
const int | xtype, | ||
const int | fdtouse, | ||
const int | resumeflag, | ||
const int | appendflag, | ||
const int | deleteflag, | ||
const ConfirmResumeDownloadProc | resumeProc, | ||
int | reserved | ||
) |
Definition at line 2748 of file io.c.
Definition at line 984 of file open.c.
Referenced by InitConnectionInfo().
Definition at line 81 of file open.c.
Referenced by FTPLoginHost(), and PostInitPrefs().
Definition at line 63 of file open.c.
Referenced by FTPInitializeAnonPassword(), LoadFirewallPrefs(), OpenTrace(), and WriteDefaultFirewallPrefs().
Definition at line 71 of file io.c.
Referenced by FTPGetOneF(), and FTPPutOneF().
Definition at line 1110 of file open.c.
Referenced by PreInit().
Definition at line 1531 of file cmds.c.
Referenced by FTPFtw(), FTPFtwL2(), and FTPGetFiles3().
Definition at line 174 of file io.c.
int FTPListToMemory | ( | const FTPCIPtr | cip, |
const char *const | pattern, | ||
const LineListPtr | llines, | ||
const char *const | lsflags | ||
) |
int FTPListToMemory2 | ( | const FTPCIPtr | cip, |
const char *const | pattern, | ||
const LineListPtr | llines, | ||
const char *const | lsflags, | ||
const int | blanklines, | ||
int *const | tryMLSD | ||
) |
Definition at line 366 of file io.c.
Referenced by FTPFileExistsNlst(), FTPFileExistsStat(), FTPListToMemory(), FTPRemoteGlob(), FTPRemoteRecursiveFileList(), FTPRemoteRecursiveFileList1(), Ls(), and MlsCmd().
Definition at line 1580 of file glob.c.
Referenced by EchoCmd(), FTPPutFiles3(), LocalRmCmd(), LocalRmdirCmd(), and SpoolPutCmd().
int FTPLocalRecursiveFileList | ( | FTPCIPtr | cip, |
LineListPtr | fileList, | ||
FileInfoListPtr | files | ||
) |
Definition at line 1333 of file glob.c.
Referenced by FTPPutFiles3().
int FTPLocalRecursiveFileList2 | ( | FTPCIPtr | cip, |
LineListPtr | fileList, | ||
FileInfoListPtr | files, | ||
int | erelative | ||
) |
Definition at line 1276 of file glob.c.
Referenced by FTPLocalRecursiveFileList().
Definition at line 110 of file open.c.
Referenced by FTPOpenHost().
Definition at line 641 of file cmds.c.
Referenced by FTPChdir3(), FTPPutFiles3(), and MkdirCmd().
int FTPMkdir2 | ( | const FTPCIPtr | cip, |
const char *const | newDir, | ||
const int | recurse, | ||
const char *const | curDir | ||
) |
Definition at line 472 of file cmds.c.
Referenced by FTPMkdir().
Definition at line 947 of file cmds.c.
Referenced by FTPFileExists2(), FTPFileSizeAndModificationTime(), and FTPFileType().
Definition at line 818 of file open.c.
Referenced by DoOpen().
Definition at line 910 of file open.c.
void FTPPerror | ( | const FTPCIPtr | cip, |
const int | err, | ||
const int | eerr, | ||
const char *const | s1, | ||
const char *const | s2 | ||
) |
Definition at line 134 of file errno.c.
Referenced by CatCmd(), ChdirCmd(), ChmodCmd(), DeleteCmd(), DoOpen(), EchoCmd(), GetCmd(), LocalRmCmd(), LocalRmdirCmd(), MkdirCmd(), MlsCmd(), OpenCmd(), OpenURL(), PageCmd(), PutCmd(), PwdCmd(), RenameCmd(), RGlobCmd(), RmdirCmd(), RmtHelpCmd(), SpoolGetCmd(), SpoolPutCmd(), SymlinkCmd(), TypeCmd(), and UmaskCmd().
int FTPPutFiles | ( | const FTPCIPtr | cip, |
const char *const | pattern, | ||
const char *const | dstdir, | ||
const int | recurse, | ||
const int | doGlob | ||
) |
Definition at line 2784 of file io.c.
int FTPPutFiles2 | ( | const FTPCIPtr | cip, |
const char *const | pattern, | ||
const char *const | dstdir, | ||
const int | recurse, | ||
const int | doGlob, | ||
const int | xtype, | ||
const int | appendflag, | ||
const char *const | tmppfx, | ||
const char *const | tmpsfx | ||
) |
Definition at line 2793 of file io.c.
int FTPPutFiles3 | ( | const FTPCIPtr | cip, |
const char *const | pattern, | ||
const char *const | dstdir, | ||
const int | recurse, | ||
const int | doGlob, | ||
const int | xtype, | ||
int | appendflag, | ||
const char *const | tmppfx, | ||
const char *const | tmpsfx, | ||
const int | resumeflag, | ||
const int | deleteflag, | ||
const ConfirmResumeUploadProc | resumeProc, | ||
int | reserved | ||
) |
int FTPPutFilesAscii | ( | const FTPCIPtr | cip, |
const char *const | pattern, | ||
const char *const | dstdir, | ||
const int | recurse, | ||
const int | doGlob | ||
) |
Definition at line 2811 of file io.c.
Definition at line 2766 of file io.c.
int FTPPutOneFile2 | ( | const FTPCIPtr | cip, |
const char *const | file, | ||
const char *const | dstfile, | ||
const int | xtype, | ||
const int | fdtouse, | ||
const int | appendflag, | ||
const char *const | tmppfx, | ||
const char *const | tmpsfx | ||
) |
Definition at line 2775 of file io.c.
int FTPPutOneFile3 | ( | const FTPCIPtr | cip, |
const char *const | file, | ||
const char *const | dstfile, | ||
const int | xtype, | ||
const int | fdtouse, | ||
const int | appendflag, | ||
const char *const | tmppfx, | ||
const char *const | tmpsfx, | ||
const int | resumeflag, | ||
const int | deleteflag, | ||
const ConfirmResumeUploadProc | resumeProc, | ||
int | reserved | ||
) |
Definition at line 2802 of file io.c.
Definition at line 380 of file open.c.
Referenced by FTPOpenHost().
Definition at line 1041 of file open.c.
Definition at line 1341 of file glob.c.
Referenced by ChdirCmd(), FTPChmod(), FTPDelete(), FTPFtwL2(), FTPGetFiles3(), FTPRmdir(), FTPRmdirRecursiveL2(), RGlobCmd(), and SpoolGetCmd().
Definition at line 739 of file cmds.c.
Referenced by RmtHelpCmd().
int FTPRemoteRecursiveFileList | ( | FTPCIPtr | cip, |
LineListPtr | fileList, | ||
FileInfoListPtr | files | ||
) |
Definition at line 1032 of file glob.c.
int FTPRemoteRecursiveFileList1 | ( | FTPCIPtr | cip, |
char * const | rdir, | ||
FileInfoListPtr | files | ||
) |
Definition at line 983 of file glob.c.
Referenced by FTPGetFiles3().
Definition at line 703 of file cmds.c.
Referenced by FTPPutOneF(), and RenameCmd().
Definition at line 784 of file cmds.c.
Referenced by FTPRmdirRecursive(), FTPRmdirRecursiveL2(), and RmdirCmd().
Definition at line 836 of file cmds.c.
Referenced by FTPFileSize(), FTPFileSizeAndModificationTime(), FTPGetOneF(), FTPPutOneF(), FTPStartDataCmd(), and TypeCmd().
Definition at line 564 of file open.c.
Referenced by CommandShell(), FTPGetOneF(), FTPListToMemory2(), FTPPutOneF(), and GetResponse().
int FTPStartDataCmd | ( | const | FTPCIPtr, |
int | netMode, | ||
int | type, | ||
longest_int | startPoint, | ||
const char * | cmdspec, | ||
... | |||
) |
Definition at line 763 of file rcmd.c.
Referenced by FTPGetOneF(), FTPList(), FTPListToMemory2(), and FTPPutOneF().
Definition at line 93 of file io.c.
Referenced by FTPGetOneF(), and FTPPutOneF().
Definition at line 159 of file io.c.
Referenced by FTPGetOneF(), and FTPPutOneF().
Definition at line 114 of file errno.c.
Referenced by FTPPerror(), FTPPutOneF(), InitConnectionInfo(), and PreInit().
Definition at line 1585 of file cmds.c.
Referenced by FTPPutFiles3(), and SymlinkCmd().
Definition at line 104 of file io.c.
Referenced by FTPGetOneF(), FTPPutOneF(), FTPStopIOTimer(), WaitForRemoteInput(), and WaitForRemoteOutput().
int FTPUtime | ( | const FTPCIPtr | cip, |
const char *const | file, | ||
time_t | actime, | ||
time_t | modtime, | ||
time_t | crtime | ||
) |
Definition at line 1649 of file cmds.c.
Referenced by FTPPutOneF().
Definition at line 240 of file util.c.
Referenced by ExpandTilde().
Definition at line 186 of file util.c.
Referenced by DECLARE_INTERFACE_().
int GetResponse | ( | const | FTPCIPtr, |
ResponsePtr | rp | ||
) |
Definition at line 287 of file rcmd.c.
Referenced by FTPAbortDataTransfer(), FTPCmd(), FTPEndDataCmd(), FTPStartDataCmd(), OpenControlConnection(), and RCmd().
Referenced by GetResponse().
Definition at line 290 of file util.c.
Referenced by FTPInitializeAnonPassword().
void InitFileInfo | ( | FileInfoPtr | fip | ) |
Definition at line 471 of file linelist.c.
Referenced by ConcatFileToFileInfoList().
void InitFileInfoList | ( | FileInfoListPtr | list | ) |
Definition at line 193 of file linelist.c.
Referenced by FTPLocalRecursiveFileList2(), FTPRemoteRecursiveFileList(), FTPRemoteRecursiveFileList1(), LineListToFileInfoList(), LineToFileInfoList(), Ls(), UnLslR(), and UnMlsD().
void InitLineList | ( | LineListPtr | list | ) |
Definition at line 54 of file linelist.c.
Referenced by ChdirCmd(), CopyLineList(), EchoCmd(), FTPDecodeURL(), FTPFileExistsNlst(), FTPListToMemory2(), FTPLocalGlob(), FTPRemoteGlob(), FTPRemoteHelp(), InitResponse(), LocalRmCmd(), LocalRmdirCmd(), Ls(), OpenCmd(), PreInit(), RGlobCmd(), SpoolGetCmd(), and SpoolPutCmd().
ResponsePtr InitResponse | ( | void | ) |
Definition at line 38 of file rcmd.c.
Referenced by FTPAbortDataTransfer(), FTPChdirAndGetCWD(), FTPCloseHost(), FTPCmd(), FTPEndDataCmd(), FTPFileExistsStat(), FTPFileModificationTime(), FTPFileSize(), FTPGetCWD(), FTPLoginHost(), FTPMListOneFile(), FTPQueryFeatures(), FTPRemoteHelp(), FTPStartDataCmd(), FTPUtime(), nFTPChdirAndGetCWD(), OpenControlConnection(), Passive(), SendPort(), and SetStartOffset().
int LineListToFileInfoList | ( | LineListPtr | src, |
FileInfoListPtr | dst | ||
) |
Definition at line 758 of file linelist.c.
Referenced by FTPPutFiles3().
int LineToFileInfoList | ( | LinePtr | lp, |
FileInfoListPtr | dst | ||
) |
Definition at line 775 of file linelist.c.
Referenced by FTPGetFiles3().
Definition at line 785 of file util.c.
Referenced by FTPGetFiles3(), InitOurDirectory(), LocalMkdirCmd(), and MkSpoolDir().
void PrintResponse | ( | const | FTPCIPtr, |
LineListPtr | llp | ||
) |
int RCmd | ( | const | FTPCIPtr, |
ResponsePtr | rp, | ||
const char * | cmdspec, | ||
... | |||
) |
Definition at line 718 of file rcmd.c.
Referenced by FTPChdirAndGetCWD(), FTPCloseHost(), FTPFileExistsStat(), FTPFileModificationTime(), FTPFileSize(), FTPGetCWD(), FTPLoginHost(), FTPMListOneFile(), FTPQueryFeatures(), FTPRemoteHelp(), FTPUtime(), nFTPChdirAndGetCWD(), Passive(), SendPort(), and SetStartOffset().
void ReInitResponse | ( | const | FTPCIPtr, |
ResponsePtr | rp | ||
) |
Definition at line 142 of file rcmd.c.
Referenced by FTPLoginHost(), and FTPQueryFeatures().
FileInfoPtr RemoveFileInfo | ( | FileInfoListPtr | list, |
FileInfoPtr | killMe | ||
) |
Definition at line 483 of file linelist.c.
LinePtr RemoveLine | ( | LineListPtr | list, |
LinePtr | killMe | ||
) |
Definition at line 63 of file linelist.c.
Referenced by FTPRemoteGlob(), and RemoteGlobCollapse().
Definition at line 607 of file util.c.
void SortFileInfoList | ( | FileInfoListPtr | list, |
int | sortKey, | ||
int | sortOrder | ||
) |
Definition at line 353 of file linelist.c.
Referenced by GetLsCacheFileList(), and Ls().
Definition at line 768 of file util.c.
Referenced by FTPGetFiles3(), GetCmd(), PutCmd(), SpoolGetCmd(), and SpoolPutCmd().
void TraceResponse | ( | const | FTPCIPtr, |
ResponsePtr | rp | ||
) |
Definition at line 55 of file rcmd.c.
Referenced by DoneWithResponse(), and ReInitResponse().
int UnLslR | ( | FileInfoListPtr | filp, |
LineListPtr | llp, | ||
int | serverType | ||
) |
Definition at line 561 of file glob.c.
Referenced by FTPRemoteRecursiveFileList(), FTPRemoteRecursiveFileList1(), and Ls().
Definition at line 486 of file util.c.
Referenced by FTPFileModificationTime(), and UnMlsT().
int UnMlsD | ( | FileInfoListPtr | filp, |
LineListPtr | llp | ||
) |
Definition at line 827 of file glob.c.
Referenced by Ls().
Definition at line 693 of file glob.c.
Referenced by FTPMListOneFile(), and UnMlsD().
void UnvectorizeFileInfoList | ( | FileInfoListPtr | list | ) |
Definition at line 441 of file linelist.c.
Definition at line 598 of file open.c.
Referenced by FTPDecodeURL().
void VectorizeFileInfoList | ( | FileInfoListPtr | list | ) |
Definition at line 423 of file linelist.c.
Referenced by Ls().
Definition at line 684 of file rcmd.c.
Referenced by FTPAbortDataTransfer().
|
extern |
|
extern |
Definition at line 11 of file ftp.c.
Referenced by OpenControlConnection(), OpenTrace(), Usage(), and VersionCmd().