Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ftpparse.h File Reference

#include <time.h>

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ftpparse

Defines

#define FTPPARSE_SIZE_UNKNOWN   0
#define FTPPARSE_SIZE_BINARY   1 /* size is the number of octets in TYPE I */
#define FTPPARSE_SIZE_ASCII   2 /* size is the number of octets in TYPE A */
#define FTPPARSE_MTIME_UNKNOWN   0
#define FTPPARSE_MTIME_LOCAL   1 /* time is correct */
#define FTPPARSE_MTIME_REMOTEMINUTE   2 /* time zone and secs are unknown */
#define FTPPARSE_MTIME_REMOTEDAY   3 /* time zone and time of day are unknown */
#define FTPPARSE_ID_UNKNOWN   0
#define FTPPARSE_ID_FULL   1 /* unique identifier for files on this FTP server */

Functions

int ftpparse (struct ftpparse *, char *, int)


Define Documentation

#define FTPPARSE_ID_FULL   1 /* unique identifier for files on this FTP server */
 

Definition at line 50 of file ftpparse.h.

Referenced by ftpparse().

#define FTPPARSE_ID_UNKNOWN   0
 

Definition at line 49 of file ftpparse.h.

Referenced by ftpparse().

#define FTPPARSE_MTIME_LOCAL   1 /* time is correct */
 

Definition at line 40 of file ftpparse.h.

Referenced by ftpparse().

#define FTPPARSE_MTIME_REMOTEDAY   3 /* time zone and time of day are unknown */
 

Definition at line 42 of file ftpparse.h.

Referenced by ftpparse().

#define FTPPARSE_MTIME_REMOTEMINUTE   2 /* time zone and secs are unknown */
 

Definition at line 41 of file ftpparse.h.

Referenced by ftpparse().

#define FTPPARSE_MTIME_UNKNOWN   0
 

Definition at line 39 of file ftpparse.h.

Referenced by ftpparse().

#define FTPPARSE_SIZE_ASCII   2 /* size is the number of octets in TYPE A */
 

Definition at line 37 of file ftpparse.h.

#define FTPPARSE_SIZE_BINARY   1 /* size is the number of octets in TYPE I */
 

Definition at line 36 of file ftpparse.h.

Referenced by ftpparse().

#define FTPPARSE_SIZE_UNKNOWN   0
 

Definition at line 35 of file ftpparse.h.

Referenced by ftpparse().


Function Documentation

int ftpparse struct ftpparse ,
char *  ,
int 
 

Definition at line 145 of file ftpparse.cc.

References base, ftpparse::flagtrycwd, ftpparse::flagtryretr, FTPPARSE_ID_FULL, FTPPARSE_ID_UNKNOWN, FTPPARSE_MTIME_LOCAL, FTPPARSE_MTIME_REMOTEDAY, FTPPARSE_MTIME_REMOTEMINUTE, FTPPARSE_MTIME_UNKNOWN, FTPPARSE_SIZE_BINARY, FTPPARSE_SIZE_UNKNOWN, getlong(), getmonth(), guesstai(), ftpparse::id, ftpparse::idlen, ftpparse::idtype, initbase(), ftpparse::mtime, ftpparse::mtimetype, ftpparse::name, ftpparse::namelen, ftpparse::size, ftpparse::sizetype, and totai().


Generated on Tue Oct 5 01:09:21 2004 for WvStreams by doxygen 1.3.7