From dc68120e6352cc2516bf25758f3aae71400b9702 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 30 Nov 2013 10:59:01 +0000 Subject: curl_easy_getinfo: Post CURLINFO_TLS_SESSION tidy up 1) Renamed curl_tlsinfo to curl_tlssessioninfo as discussed on the mailing list. 2) Renamed curl_ssl_backend to curl_sslbackend so it doesn't follow our function naming convention. 3) Updated sessioninfo.c example accordingly. --- include/curl/curl.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/curl/curl.h b/include/curl/curl.h index b58939b00..5c63dd894 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -1997,13 +1997,13 @@ typedef enum { CURLSSLBACKEND_CYASSL = 7, CURLSSLBACKEND_SCHANNEL = 8, CURLSSLBACKEND_DARWINSSL = 9 -} curl_ssl_backend; +} curl_sslbackend; /* Information about the SSL library used and the respective internal SSL handle, which can be used to obtain further information regarding the connection. Asked for with CURLINFO_TLS_SESSION. */ -struct curl_tlsinfo { - curl_ssl_backend ssl_backend; +struct curl_tlssessioninfo { + curl_sslbackend backend; void *internals; }; -- cgit v1.2.3