1999-12-29 09:20:26 -05:00
|
|
|
#ifndef __FTP_H
|
|
|
|
#define __FTP_H
|
2002-09-03 07:52:59 -04:00
|
|
|
/***************************************************************************
|
2005-02-09 08:06:40 -05:00
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
1999-12-29 09:20:26 -05:00
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2005-02-09 08:06:40 -05:00
|
|
|
* Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
|
1999-12-29 09:20:26 -05:00
|
|
|
*
|
2002-09-03 07:52:59 -04: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 08:06:40 -05:00
|
|
|
*
|
2001-01-03 04:29:33 -05: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 07:52:59 -04:00
|
|
|
* furnished to do so, under the terms of the COPYING file.
|
1999-12-29 09:20:26 -05:00
|
|
|
*
|
2001-01-03 04:29:33 -05:00
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
1999-12-29 09:20:26 -05:00
|
|
|
*
|
2001-01-03 04:29:33 -05:00
|
|
|
* $Id$
|
2002-09-03 07:52:59 -04:00
|
|
|
***************************************************************************/
|
2002-06-11 07:13:01 -04:00
|
|
|
|
|
|
|
#ifndef CURL_DISABLE_FTP
|
2005-02-09 08:06:40 -05:00
|
|
|
CURLcode Curl_ftp(struct connectdata *conn, bool *done);
|
2007-01-16 17:22:10 -05:00
|
|
|
CURLcode Curl_ftp_done(struct connectdata *conn, CURLcode, bool premature);
|
2005-02-09 08:06:40 -05:00
|
|
|
CURLcode Curl_ftp_connect(struct connectdata *conn, bool *done);
|
2001-03-02 02:44:22 -05:00
|
|
|
CURLcode Curl_ftp_disconnect(struct connectdata *conn);
|
2001-11-05 07:24:21 -05:00
|
|
|
CURLcode Curl_ftpsendf(struct connectdata *, const char *fmt, ...);
|
2005-02-09 08:06:40 -05:00
|
|
|
CURLcode Curl_nbftpsendf(struct connectdata *, const char *fmt, ...);
|
2003-03-11 13:58:21 -05:00
|
|
|
CURLcode Curl_GetFTPResponse(ssize_t *nread, struct connectdata *conn,
|
2002-12-03 05:25:31 -05:00
|
|
|
int *ftpcode);
|
2002-08-12 05:43:20 -04:00
|
|
|
CURLcode Curl_ftp_nextconnect(struct connectdata *conn);
|
2005-02-09 08:06:40 -05:00
|
|
|
CURLcode Curl_ftp_multi_statemach(struct connectdata *conn, bool *done);
|
2006-04-10 11:00:53 -04:00
|
|
|
int Curl_ftp_getsock(struct connectdata *conn,
|
|
|
|
curl_socket_t *socks,
|
|
|
|
int numsocks);
|
2005-02-09 08:06:40 -05:00
|
|
|
CURLcode Curl_ftp_doing(struct connectdata *conn,
|
|
|
|
bool *dophase_done);
|
|
|
|
#endif /* CURL_DISABLE_FTP */
|
|
|
|
#endif /* __FTP_H */
|