mirror of
https://github.com/curl/curl.git
synced 2026-07-10 18:07:16 +03:00
To make it clear what they are and according to our styleguide. - Curl_cf_ip_happy_insert_after - Curl_ftp_conns_match Found with: $ nm lib/.libs/libcurl.a | grep ' T ' | grep -vi ' curl' Closes #22245
45 lines
1.7 KiB
C
45 lines
1.7 KiB
C
#ifndef HEADER_CURL_FTP_H
|
|
#define HEADER_CURL_FTP_H
|
|
/***************************************************************************
|
|
* _ _ ____ _
|
|
* Project ___| | | | _ \| |
|
|
* / __| | | | |_) | |
|
|
* | (__| |_| | _ <| |___
|
|
* \___|\___/|_| \_\_____|
|
|
*
|
|
* Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
*
|
|
* 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 https://curl.se/docs/copyright.html.
|
|
*
|
|
* 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
|
|
* furnished to do so, under the terms of the COPYING file.
|
|
*
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
* KIND, either express or implied.
|
|
*
|
|
* SPDX-License-Identifier: curl
|
|
*
|
|
***************************************************************************/
|
|
#include "curl_setup.h"
|
|
|
|
#ifndef CURL_DISABLE_FTP
|
|
extern const struct Curl_protocol Curl_protocol_ftp;
|
|
|
|
bool Curl_ftp_conns_match(struct connectdata *needle,
|
|
struct connectdata *conn);
|
|
|
|
typedef enum {
|
|
FTPFILE_MULTICWD = 1, /* as defined by RFC1738 */
|
|
FTPFILE_NOCWD = 2, /* use SIZE / RETR / STOR on the full path */
|
|
FTPFILE_SINGLECWD = 3 /* make one CWD, then SIZE / RETR / STOR on the
|
|
file */
|
|
} curl_ftpfile;
|
|
|
|
#endif /* CURL_DISABLE_FTP */
|
|
|
|
#define DEFAULT_ACCEPT_TIMEOUT 60000 /* milliseconds == one minute */
|
|
|
|
#endif /* HEADER_CURL_FTP_H */
|