1999-12-29 22:20:26 +08:00
|
|
|
#ifndef __FTP_H
|
|
|
|
#define __FTP_H
|
2002-09-03 19:52:59 +08:00
|
|
|
/***************************************************************************
|
2005-02-09 21:06:40 +08:00
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
1999-12-29 22:20:26 +08:00
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2005-02-09 21:06:40 +08:00
|
|
|
* Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
|
1999-12-29 22:20:26 +08:00
|
|
|
*
|
2002-09-03 19:52:59 +08:00
|
|
|
* This software is licensed as described in the file COPYING, which
|
|
|
|
* you should have received as part of this distribution. The terms
|
|
|
|
* are also available at http://curl.haxx.se/docs/copyright.html.
|
2005-02-09 21:06:40 +08:00
|
|
|
*
|
2001-01-03 17:29:33 +08:00
|
|
|
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
|
|
* copies of the Software, and permit persons to whom the Software is
|
2002-09-03 19:52:59 +08:00
|
|
|
* furnished to do so, under the terms of the COPYING file.
|
1999-12-29 22:20:26 +08:00
|
|
|
*
|
2001-01-03 17:29:33 +08:00
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
1999-12-29 22:20:26 +08:00
|
|
|
*
|
2001-01-03 17:29:33 +08:00
|
|
|
* $Id$
|
2002-09-03 19:52:59 +08:00
|
|
|
***************************************************************************/
|
2002-06-11 19:13:01 +08:00
|
|
|
|
|
|
|
#ifndef CURL_DISABLE_FTP
|
2005-02-09 21:06:40 +08:00
|
|
|
CURLcode Curl_ftp(struct connectdata *conn, bool *done);
|
2004-05-12 20:06:39 +08:00
|
|
|
CURLcode Curl_ftp_done(struct connectdata *conn, CURLcode);
|
2005-02-09 21:06:40 +08:00
|
|
|
CURLcode Curl_ftp_connect(struct connectdata *conn, bool *done);
|
2001-03-02 15:44:22 +08:00
|
|
|
CURLcode Curl_ftp_disconnect(struct connectdata *conn);
|
2001-11-05 20:24:21 +08:00
|
|
|
CURLcode Curl_ftpsendf(struct connectdata *, const char *fmt, ...);
|
2005-02-09 21:06:40 +08:00
|
|
|
CURLcode Curl_nbftpsendf(struct connectdata *, const char *fmt, ...);
|
2003-03-12 02:58:21 +08:00
|
|
|
CURLcode Curl_GetFTPResponse(ssize_t *nread, struct connectdata *conn,
|
2002-12-03 18:25:31 +08:00
|
|
|
int *ftpcode);
|
2002-08-12 17:43:20 +08:00
|
|
|
CURLcode Curl_ftp_nextconnect(struct connectdata *conn);
|
2005-02-09 21:06:40 +08:00
|
|
|
CURLcode Curl_ftp_multi_statemach(struct connectdata *conn, bool *done);
|
2006-04-10 23:00:53 +08:00
|
|
|
int Curl_ftp_getsock(struct connectdata *conn,
|
|
|
|
curl_socket_t *socks,
|
|
|
|
int numsocks);
|
2005-02-09 21:06:40 +08:00
|
|
|
CURLcode Curl_ftp_doing(struct connectdata *conn,
|
|
|
|
bool *dophase_done);
|
|
|
|
#endif /* CURL_DISABLE_FTP */
|
|
|
|
#endif /* __FTP_H */
|