summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-30 10:59:01 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-30 11:08:56 +0000
commitdc68120e6352cc2516bf25758f3aae71400b9702 (patch)
treed3b66b009f2d252779058a35293730b8b234e8d6 /include
parent0db811b69b2d5a18f8122d94db4e520909fd992b (diff)
downloadcurl-dc68120e6352cc2516bf25758f3aae71400b9702.tar.gz
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.
Diffstat (limited to 'include')
-rw-r--r--include/curl/curl.h6
1 files changed, 3 insertions, 3 deletions
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;
};