summaryrefslogtreecommitdiff
path: root/Source/cmCurl.h
blob: b5134f466e553e7c3e8675c4446b6ce7e5187c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */
#pragma once

#include "cmConfigure.h" // IWYU pragma: keep

#include <string>

#include <cm3p/curl/curl.h>

std::string cmCurlSetCAInfo(::CURL* curl, const std::string& cafile = {});
std::string cmCurlSetNETRCOption(::CURL* curl, const std::string& netrc_level,
                                 const std::string& netrc_file);
std::string cmCurlFixFileURL(std::string url);