Changeset 78066 in vbox for trunk/include/iprt
- Timestamp:
- Apr 9, 2019 4:02:32 PM (6 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/http.h
r76585 r78066 319 319 320 320 /** 321 * Gets the follow redirect setting. 322 * 323 * @returns cMaxRedirects value, 0 means not to follow. 324 * @param hHttp The HTTP client handle. 325 */ 326 RTR3DECL(uint32_t) RTHttpGetFollowRedirects(RTHTTP hHttp); 327 328 /** 321 329 * Set custom raw headers. 322 330 * … … 468 476 */ 469 477 RTR3DECL(int) RTHttpGatherCaCertsInFile(const char *pszCaFile, uint32_t fFlags, PRTERRINFO pErrInfo); 478 479 /** 480 * Set whether to verify the peer's SSL certificate. 481 * 482 * The default is to verify it. It can however sometimes be useful or even 483 * necessary to skip this. 484 * 485 * @returns iprt status code. 486 * 487 * @param hHttp The HTTP client handle. 488 * @param fVerify Verify the certificate if @a true. 489 */ 490 RTR3DECL(int) RTHttpSetVerifyPeer(RTHTTP hHttp, bool fVerify); 491 492 /** 493 * Get the state of the peer's SSL certificate setting. 494 * 495 * @returns true if we verify the SSL certificate, false if not. 496 * @param hHttp The HTTP client handle. 497 */ 498 RTR3DECL(bool) RTHttpGetVerifyPeer(RTHTTP hHttp); 470 499 471 500 /** -
trunk/include/iprt/mangling.h
r78048 r78066 1131 1131 # define RTHeapSimpleSize RT_MANGLER(RTHeapSimpleSize) 1132 1132 # define RTHttpGetFile RT_MANGLER(RTHttpGetFile) 1133 # define RTHttpGetFollowRedirects RT_MANGLER(RTHttpGetFollowRedirects) 1133 1134 # define RTHttpSetFollowRedirects RT_MANGLER(RTHttpSetFollowRedirects) 1135 # define RTHttpGetVerifyPeer RT_MANGLER(RTHttpGetVerifyPeer) 1136 # define RTHttpSetVerifyPeer RT_MANGLER(RTHttpSetVerifyPeer) 1134 1137 # define RTHttpUseSystemProxySettings RT_MANGLER(RTHttpUseSystemProxySettings) 1135 1138 # define RTIniFileCreateFromVfsFile RT_MANGLER(RTIniFileCreateFromVfsFile)
Note:
See TracChangeset
for help on using the changeset viewer.