diff options
Diffstat (limited to 'lib/vtls/vtls.h')
-rw-r--r-- | lib/vtls/vtls.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/vtls/vtls.h b/lib/vtls/vtls.h index 50c53b3fb..1ab90c09e 100644 --- a/lib/vtls/vtls.h +++ b/lib/vtls/vtls.h @@ -47,6 +47,10 @@ struct ssl_connect_data; #define VTLS_INFOF_ALPN_ACCEPTED_LEN_1STR \ ALPN_ACCEPTED "%.*s" +/* Curl_multi SSL backend-specific data; declared differently by each SSL + backend */ +struct multi_ssl_backend_data; + struct Curl_ssl { /* * This *must* be the first entry to allow returning the list of available @@ -102,6 +106,8 @@ struct Curl_ssl { struct connectdata *conn, int sockindex); void (*disassociate_connection)(struct Curl_easy *data, int sockindex); + + void (*free_multi_ssl_backend_data)(struct multi_ssl_backend_data *mbackend); }; #ifdef USE_SSL @@ -311,6 +317,8 @@ void Curl_ssl_associate_conn(struct Curl_easy *data, void Curl_ssl_detach_conn(struct Curl_easy *data, struct connectdata *conn); +void Curl_free_multi_ssl_backend_data(struct multi_ssl_backend_data *mbackend); + #define SSL_SHUTDOWN_TIMEOUT 10000 /* ms */ #else /* if not USE_SSL */ |