summaryrefslogtreecommitdiff
path: root/Source/cmCurl.h
blob: fb716f80c998c0cc3a8a3428f7a33aa8068b62c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* 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 char* cafile = nullptr);
std::string cmCurlSetNETRCOption(::CURL* curl, const std::string& netrc_level,
                                 const std::string& netrc_file);