summaryrefslogtreecommitdiffstats
path: root/Source/cmCurl.h
diff options
context:
space:
mode:
authorShane Parris <shane.lee.parris@gmail.com>2017-10-18 14:26:55 (GMT)
committerBrad King <brad.king@kitware.com>2017-10-18 19:21:42 (GMT)
commit5d67e9025d1c7f1259477450831135667b6f1eeb (patch)
tree4fff01226f207564e5aef218acec11fec5c9092b /Source/cmCurl.h
parentcb8f26f199e18be231f40f523bfe64375e749e35 (diff)
downloadCMake-5d67e9025d1c7f1259477450831135667b6f1eeb.zip
CMake-5d67e9025d1c7f1259477450831135667b6f1eeb.tar.gz
CMake-5d67e9025d1c7f1259477450831135667b6f1eeb.tar.bz2
file(DOWNLOAD|UPLOAD): Add 'NETRC' and 'NETRC_FILE' suboption
Diffstat (limited to 'Source/cmCurl.h')
-rw-r--r--Source/cmCurl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmCurl.h b/Source/cmCurl.h
index 0688bb2..fe7eb80 100644
--- a/Source/cmCurl.h
+++ b/Source/cmCurl.h
@@ -9,5 +9,7 @@
#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