1999-12-29 22:20:26 +08:00
|
|
|
#ifndef __FTP_H
|
|
|
|
#define __FTP_H
|
2002-09-03 19:52:59 +08:00
|
|
|
/***************************************************************************
|
1999-12-29 22:20:26 +08:00
|
|
|
* _ _ ____ _
|
|
|
|
* Project ___| | | | _ \| |
|
|
|
|
* / __| | | | |_) | |
|
|
|
|
* | (__| |_| | _ <| |___
|
|
|
|
* \___|\___/|_| \_\_____|
|
|
|
|
*
|
2004-01-07 17:19:33 +08:00
|
|
|
* Copyright (C) 1998 - 2004, 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.
|
|
|
|
*
|
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
|
2001-01-05 18:11:41 +08:00
|
|
|
CURLcode Curl_ftp(struct connectdata *conn);
|
|
|
|
CURLcode Curl_ftp_done(struct connectdata *conn);
|
|
|
|
CURLcode Curl_ftp_connect(struct connectdata *conn);
|
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, ...);
|
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);
|
2004-01-22 19:53:43 +08:00
|
|
|
CURLcode Curl_ftp_quit(struct connectdata *conn);
|
2002-06-11 19:13:01 +08:00
|
|
|
#endif
|
|
|
|
|
1999-12-29 22:20:26 +08:00
|
|
|
#endif
|