mirror of
https://github.com/curl/curl.git
synced 2026-01-18 17:21:26 +01:00
Some internal functions always return CURLE_OK. - Curl_http_proxy_get_destination() does that frombb4032a, (2 years ago) And the original inline code does not need to check the status. - Curl_wildcard_init() does that frome60fe20. (8 years ago) - Curl_initinfo() does that from a very beginning. - Curl_pgrsSetDownloadCounter() did not have a return before914e49b,ad051e1recovered its content (2 years ago) but did not completely recovered the changes related to it. - auth_digest_get_qop_values() does that from676de7f. This directly changes their type to void and cleaned the remaining checks for their return value. Closes #19386
30 lines
1.2 KiB
C
30 lines
1.2 KiB
C
#ifndef HEADER_CURL_GETINFO_H
|
|
#define HEADER_CURL_GETINFO_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
|
|
*
|
|
***************************************************************************/
|
|
CURLcode Curl_getinfo(struct Curl_easy *data, CURLINFO info, ...);
|
|
void Curl_initinfo(struct Curl_easy *data);
|
|
|
|
#endif /* HEADER_CURL_GETINFO_H */
|