The SWORD Project
1.9.0.svnversion
|
Go to the source code of this file.
Macros | |
#define | _FTPLIB_NO_COMPAT |
#define | FTPLIB_ASCII 'A' |
#define | FTPLIB_BINARY FTPLIB_IMAGE |
#define | FTPLIB_CALLBACK 2 |
#define | FTPLIB_CALLBACK_WRITER 6 |
#define | FTPLIB_CALLBACK_WRITERARG 7 |
#define | FTPLIB_CALLBACKARG 4 |
#define | FTPLIB_CALLBACKBYTES 5 |
#define | FTPLIB_CONNMODE 1 |
#define | FTPLIB_DIR 1 |
#define | FTPLIB_DIR_VERBOSE 2 |
#define | FTPLIB_FILE_READ 3 |
#define | FTPLIB_FILE_WRITE 4 |
#define | FTPLIB_IDLETIME 3 |
#define | FTPLIB_IMAGE 'I' |
#define | FTPLIB_PASSIVE 1 |
#define | FTPLIB_PORT 2 |
#define | FTPLIB_TEXT FTPLIB_ASCII |
Typedefs | |
typedef int(* | FtpCallback )(netbuf *nControl, int xfered, void *arg) |
typedef int(* | FtpCallbackWriter )(netbuf *nControl, const void *buffer, size_t size, void *arg) |
typedef struct NetBuf | netbuf |
Functions | |
GLOBALREF int | FtpAccess (const char *path, int typ, int mode, netbuf *nControl, netbuf **nData) |
GLOBALREF int | FtpCDUp (netbuf *nControl) |
GLOBALREF int | FtpChdir (const char *path, netbuf *nControl) |
GLOBALREF int | FtpClose (netbuf *nData) |
GLOBALREF int | FtpConnect (const char *host, netbuf **nControl) |
GLOBALREF int | FtpDelete (const char *fnm, netbuf *nControl) |
GLOBALREF int | FtpDir (const char *output, const char *path, netbuf *nControl) |
GLOBALREF int | FtpGet (const char *output, const char *path, char mode, netbuf *nControl) |
GLOBALREF void | FtpInit (void) |
GLOBALREF char * | FtpLastResponse (netbuf *nControl) |
GLOBALREF int | FtpLogin (const char *user, const char *pass, netbuf *nControl) |
GLOBALREF int | FtpMkdir (const char *path, netbuf *nControl) |
GLOBALREF int | FtpModDate (const char *path, char *dt, int max, netbuf *nControl) |
GLOBALREF int | FtpNlst (const char *output, const char *path, netbuf *nControl) |
GLOBALREF int | FtpOptions (int opt, long val, netbuf *nControl) |
GLOBALREF int | FtpPut (const char *input, const char *path, char mode, netbuf *nControl) |
GLOBALREF int | FtpPwd (char *path, int max, netbuf *nControl) |
GLOBALREF void | FtpQuit (netbuf *nControl) |
GLOBALREF int | FtpRead (void *buf, int max, netbuf *nData) |
GLOBALREF int | FtpRename (const char *src, const char *dst, netbuf *nControl) |
GLOBALREF int | FtpRmdir (const char *path, netbuf *nControl) |
GLOBALREF int | FtpSite (const char *cmd, netbuf *nControl) |
GLOBALREF int | FtpSize (const char *path, int *size, char mode, netbuf *nControl) |
GLOBALREF int | FtpSysType (char *buf, int max, netbuf *nControl) |
GLOBALREF int | FtpWrite (void *buf, int len, netbuf *nData) |
Variables | |
GLOBALREF int | ftplib_debug |
#define FTPLIB_BINARY FTPLIB_IMAGE |
#define FTPLIB_TEXT FTPLIB_ASCII |
typedef int(* FtpCallback)(netbuf *nControl, int xfered, void *arg) |
GLOBALREF int FtpAccess | ( | const char * | path, |
int | typ, | ||
int | mode, | ||
netbuf * | nControl, | ||
netbuf ** | nData | ||
) |
Definition at line 920 of file ftplib.c.
GLOBALREF int FtpCDUp | ( | netbuf * | nControl | ) |
Definition at line 1168 of file ftplib.c.
Definition at line 1151 of file ftplib.c.
GLOBALREF int FtpClose | ( | netbuf * | nData | ) |
Definition at line 1054 of file ftplib.c.
Definition at line 1397 of file ftplib.c.
Definition at line 1296 of file ftplib.c.
Definition at line 1354 of file ftplib.c.
Definition at line 675 of file ftplib.c.
Definition at line 1134 of file ftplib.c.
Definition at line 1334 of file ftplib.c.
Definition at line 1285 of file ftplib.c.
GLOBALREF int FtpOptions | ( | int | opt, |
long | val, | ||
netbuf * | nControl | ||
) |
Definition at line 604 of file ftplib.c.
Definition at line 1365 of file ftplib.c.
GLOBALREF int FtpPwd | ( | char * | path, |
int | max, | ||
netbuf * | nControl | ||
) |
Definition at line 1197 of file ftplib.c.
GLOBALREF void FtpQuit | ( | netbuf * | nControl | ) |
Definition at line 1414 of file ftplib.c.
GLOBALREF int FtpRead | ( | void * | buf, |
int | max, | ||
netbuf * | nData | ||
) |
Definition at line 1376 of file ftplib.c.
Definition at line 1180 of file ftplib.c.
Definition at line 1094 of file ftplib.c.
Definition at line 1306 of file ftplib.c.
GLOBALREF int FtpSysType | ( | char * | buf, |
int | max, | ||
netbuf * | nControl | ||
) |
Definition at line 1115 of file ftplib.c.
GLOBALREF int FtpWrite | ( | void * | buf, |
int | len, | ||
netbuf * | nData | ||
) |