aboutsummaryrefslogtreecommitdiff
path: root/lib/vtls/vtls.h
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2017-06-23 00:22:47 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-28 14:56:56 +0200
commit52e8237bfc66a2a8324dbb558c1f0704aa0f8c0e (patch)
tree6b192ee480dd9a48f71a3cbeb0a3e78ab0c624d1 /lib/vtls/vtls.h
parente09bb63ed8e7d1a7448c42078d511f44bc4c258c (diff)
vtls: use the Curl_ssl struct to access all SSL backends' functionality
This is the first step to unify the SSL backend handling. Now all the SSL backend-specific functionality is accessed via a global instance of the Curl_ssl struct. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'lib/vtls/vtls.h')
-rw-r--r--lib/vtls/vtls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h
index 9093462da..a568999e8 100644
--- a/lib/vtls/vtls.h
+++ b/lib/vtls/vtls.h
@@ -56,6 +56,10 @@ struct Curl_ssl {
bool (*false_start)(void);
};
+#ifdef USE_SSL
+extern const struct Curl_ssl *Curl_ssl;
+#endif
+
int Curl_none_init(void);
void Curl_none_cleanup(void);
int Curl_none_shutdown(struct connectdata *conn, int sockindex);