mirror of
https://github.com/curl/curl.git
synced 2026-06-18 15:46:16 +03:00
Move the setup filter into its own source file. Move the main connect driving function, `Curl_conn_connect()`, from cfilters.c to connect.c. Closes #22022
46 lines
1.7 KiB
C
46 lines
1.7 KiB
C
#ifndef HEADER_CURL_CF_SETUP_H
|
|
#define HEADER_CURL_CF_SETUP_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"
|
|
|
|
struct Curl_dns_entry;
|
|
struct ip_quadruple;
|
|
struct Curl_peer;
|
|
struct Curl_str;
|
|
|
|
CURLcode Curl_cf_setup_add(struct Curl_easy *data,
|
|
struct connectdata *conn,
|
|
int sockindex,
|
|
uint8_t transport,
|
|
int ssl_mode);
|
|
|
|
CURLcode Curl_cf_setup_insert_after(struct Curl_cfilter *cf_at,
|
|
struct Curl_easy *data,
|
|
uint8_t transport,
|
|
int ssl_mode);
|
|
|
|
extern struct Curl_cftype Curl_cft_setup;
|
|
|
|
#endif /* HEADER_CURL_CF_SETUP_H */
|