Curl_GetFTPResponse() takes a different set of parameters and now return a

proper CURLcode. The default timeout for reading one response is now also
possible to change while running.
This commit is contained in:
Daniel Stenberg 2002-12-03 10:25:31 +00:00
parent 199a0311e2
commit d0b97f7e1f
5 changed files with 126 additions and 123 deletions

View file

@ -29,8 +29,8 @@ CURLcode Curl_ftp_done(struct connectdata *conn);
CURLcode Curl_ftp_connect(struct connectdata *conn);
CURLcode Curl_ftp_disconnect(struct connectdata *conn);
CURLcode Curl_ftpsendf(struct connectdata *, const char *fmt, ...);
int Curl_GetFTPResponse(char *buf, struct connectdata *conn,
int *ftpcode);
CURLcode Curl_GetFTPResponse(int *nread, struct connectdata *conn,
int *ftpcode);
CURLcode Curl_ftp_nextconnect(struct connectdata *conn);
#endif