4
/*****************************************************************************
3
/***************************************************************************
6
5
* Project ___| | | | _ \| |
7
6
* / __| | | | |_) | |
8
7
* | (__| |_| | _ <| |___
9
8
* \___|\___/|_| \_\_____|
11
* Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
13
* In order to be useful for every potential user, curl and libcurl are
14
* dual-licensed under the MPL and the MIT/X-derivate licenses.
10
* Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
12
* This software is licensed as described in the file COPYING, which
13
* you should have received as part of this distribution. The terms
14
* are also available at http://curl.haxx.se/docs/copyright.html.
16
16
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
17
17
* copies of the Software, and permit persons to whom the Software is
18
* furnished to do so, under the terms of the MPL or the MIT/X-derivate
19
* licenses. You may pick one of these licenses.
18
* furnished to do so, under the terms of the COPYING file.
21
20
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
22
21
* KIND, either express or implied.
24
* $Id: ftp.h,v 1.10 2001/11/05 12:24:21 bagder Exp $
25
*****************************************************************************/
23
* $Id: ftp.h,v 1.20 2004/04/22 13:15:17 bagder Exp $
24
***************************************************************************/
26
#ifndef CURL_DISABLE_FTP
26
27
CURLcode Curl_ftp(struct connectdata *conn);
27
28
CURLcode Curl_ftp_done(struct connectdata *conn);
28
29
CURLcode Curl_ftp_connect(struct connectdata *conn);
29
30
CURLcode Curl_ftp_disconnect(struct connectdata *conn);
31
31
CURLcode Curl_ftpsendf(struct connectdata *, const char *fmt, ...);
33
/* The kerberos stuff needs this: */
34
int Curl_GetFTPResponse(char *buf, struct connectdata *conn,
32
CURLcode Curl_GetFTPResponse(ssize_t *nread, struct connectdata *conn,
34
CURLcode Curl_ftp_nextconnect(struct connectdata *conn);