From 3c52c53dddd3193d20bcb6fb335b1813eb1c07dd Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 28 Aug 2001 08:37:54 +0000 Subject: Added SSL session ID caching, moved some SSL code from url.c to ssluse.c --- lib/ssluse.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'lib/ssluse.h') diff --git a/lib/ssluse.h b/lib/ssluse.h index 645970f4b..47a1a1842 100644 --- a/lib/ssluse.h +++ b/lib/ssluse.h @@ -24,8 +24,14 @@ *****************************************************************************/ #include "urldata.h" CURLcode Curl_SSLConnect(struct connectdata *conn); -/* Global SSL init */ -void Curl_SSL_init(void); -/* Global SSL cleanup */ -void Curl_SSL_cleanup(void); +void Curl_SSL_init(void); /* Global SSL init */ +void Curl_SSL_cleanup(void); /* Global SSL cleanup */ + +/* init the SSL session ID cache */ +CURLcode Curl_SSL_InitSessions(struct UrlData *, long); +void Curl_SSL_Close(struct connectdata *conn); /* close a SSL connection */ + +/* tell the SSL stuff to close down all open information regarding + connections (and thus session ID caching etc) */ +int Curl_SSL_Close_All(struct UrlData *data); #endif -- cgit v1.2.1