summaryrefslogtreecommitdiffstats
path: root/Source/cmCurl.h
blob: fe7eb809f1a1e47112a137aaaabfe2b915b26732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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 "cm_curl.h"
#include <string>

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