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

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

#include <string>

#include "cm_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);

#endif