diff options
Diffstat (limited to 'lib/ftp.h')
-rw-r--r-- | lib/ftp.h | 25 |
1 files changed, 14 insertions, 11 deletions
@@ -24,20 +24,23 @@ ***************************************************************************/ #ifndef CURL_DISABLE_FTP -CURLcode Curl_ftp(struct connectdata *conn, bool *done); -CURLcode Curl_ftp_done(struct connectdata *conn, CURLcode, bool premature); -CURLcode Curl_ftp_connect(struct connectdata *conn, bool *done); -CURLcode Curl_ftp_disconnect(struct connectdata *conn); +extern const struct Curl_handler Curl_handler_ftp; + +#ifdef USE_SSL +extern const struct Curl_handler Curl_handler_ftps; +#endif + +#ifndef CURL_DISABLE_HTTP +extern const struct Curl_handler Curl_handler_ftp_proxy; + +# ifdef USE_SSL +extern const struct Curl_handler Curl_handler_ftps_proxy; +# endif +#endif + CURLcode Curl_ftpsendf(struct connectdata *, const char *fmt, ...); CURLcode Curl_nbftpsendf(struct connectdata *, const char *fmt, ...); CURLcode Curl_GetFTPResponse(ssize_t *nread, struct connectdata *conn, int *ftpcode); -CURLcode Curl_ftp_nextconnect(struct connectdata *conn); -CURLcode Curl_ftp_multi_statemach(struct connectdata *conn, bool *done); -int Curl_ftp_getsock(struct connectdata *conn, - curl_socket_t *socks, - int numsocks); -CURLcode Curl_ftp_doing(struct connectdata *conn, - bool *dophase_done); #endif /* CURL_DISABLE_FTP */ #endif /* __FTP_H */ |