https://github.com/Kitware/CMake
Raw File
Tip revision: 177fc020731bcee747295573c92cd0f7ca200e53 authored by Brad King on 22 September 2020, 12:53:09 UTC
CMake 3.18.3
Tip revision: 177fc02
cmCurl.h
/* 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 <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);

#endif
back to top