summaryrefslogtreecommitdiff
path: root/lib/ssluse.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-28 08:37:54 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-28 08:37:54 +0000
commit3c52c53dddd3193d20bcb6fb335b1813eb1c07dd (patch)
treea5af9e9145b928cc538478de4cc8fafad1706ebd /lib/ssluse.h
parent321ba15a82df0dba12b8f21fa60025c02e3bb998 (diff)
downloadcurl-3c52c53dddd3193d20bcb6fb335b1813eb1c07dd.tar.gz
Added SSL session ID caching, moved some SSL code from url.c to ssluse.c
Diffstat (limited to 'lib/ssluse.h')
-rw-r--r--lib/ssluse.h14
1 files changed, 10 insertions, 4 deletions
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