~ubuntu-branches/ubuntu/warty/curl/warty-security

« back to all changes in this revision

Viewing changes to lib/ftp.h

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli
  • Date: 2004-06-04 19:09:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040604190925-wy048bp31320r2z6
Tags: 7.12.0.is.7.11.2-1
* Reverted to version 7.11.2 (closes: #252348).
* Disabled support for libidn (closes: #252367). This is to leave
  curl in unstable as much similar as possible to the one in testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef __FTP_H
2
2
#define __FTP_H
3
 
 
4
 
/*****************************************************************************
 
3
/***************************************************************************
5
4
 *                                  _   _ ____  _     
6
5
 *  Project                     ___| | | |  _ \| |    
7
6
 *                             / __| | | | |_) | |    
8
7
 *                            | (__| |_| |  _ <| |___ 
9
8
 *                             \___|\___/|_| \_\_____|
10
9
 *
11
 
 * Copyright (C) 2000, Daniel Stenberg, <daniel@haxx.se>, et al.
12
 
 *
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.
15
 
 *
 
10
 * Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
 
11
 *
 
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.
 
15
 * 
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.
20
19
 *
21
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
22
21
 * KIND, either express or implied.
23
22
 *
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
 ***************************************************************************/
 
25
 
 
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);
30
 
 
31
31
CURLcode Curl_ftpsendf(struct connectdata *, const char *fmt, ...);
32
 
 
33
 
/* The kerberos stuff needs this: */
34
 
int Curl_GetFTPResponse(char *buf, struct connectdata *conn,
35
 
                        int *ftpcode);
 
32
CURLcode Curl_GetFTPResponse(ssize_t *nread, struct connectdata *conn,
 
33
                             int *ftpcode);
 
34
CURLcode Curl_ftp_nextconnect(struct connectdata *conn);
 
35
#endif
36
36
 
37
37
#endif