diff options
author | Pavel Raiskup <xraisk00@gmail.com> | 2010-05-12 15:33:22 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-05-12 23:17:51 +0200 |
commit | 0825cd80a62c21725fb3615f1fdd3aa6cc5f0f34 (patch) | |
tree | 6c6e3f2cfc9767031e1c2093a522d80d7f18edcb /lib/ftp.h | |
parent | 04cb15ae9dc0e863487ee55de2226cf5033311c0 (diff) | |
download | curl-0825cd80a62c21725fb3615f1fdd3aa6cc5f0f34.tar.gz |
FTP: WILDCARDMATCH/CHUNKING/FNMATCH added
Diffstat (limited to 'lib/ftp.h')
-rw-r--r-- | lib/ftp.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -79,6 +79,17 @@ typedef enum { FTP_LAST /* never used */ } ftpstate; +struct ftp_parselist_data; /* defined later in ftplistparser.c */ + +struct ftp_wc_tmpdata { + struct ftp_parselist_data *parser; + + struct { + curl_write_callback write_function; + FILE *file_descriptor; + } backup; +}; + typedef enum { FTPFILE_MULTICWD = 1, /* as defined by RFC1738 */ FTPFILE_NOCWD = 2, /* use SIZE / RETR / STOR on the full path */ @@ -135,6 +146,8 @@ struct ftp_conn { int count3; /* general purpose counter for the state machine */ ftpstate state; /* always use ftp.c:state() to change state! */ char * server_os; /* The target server operating system. */ + curl_off_t known_filesize; /* file size is different from -1, if wildcard + LIST parsing was done and wc_statemach set it */ }; #endif /* HEADER_CURL_FTP_H */ |