cmCurl.h 523 B

1234567891011121314
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #pragma once
  4. #include "cmConfigure.h" // IWYU pragma: keep
  5. #include <string>
  6. #include <cm3p/curl/curl.h>
  7. std::string cmCurlSetCAInfo(::CURL* curl, const std::string& cafile = {});
  8. std::string cmCurlSetNETRCOption(::CURL* curl, const std::string& netrc_level,
  9. const std::string& netrc_file);
  10. std::string cmCurlFixFileURL(std::string url);