struct curl_ssl_backend
Defined at line 2820 of file ../../third_party/curl/src/include/curl/curl.h
NAME curl_global_sslset()
DESCRIPTION
When built with multiple SSL backends, curl_global_sslset() allows to
choose one. This function can only be called once, and it must be called
*before* curl_global_init().
The backend can be identified by the id (e.g. CURLSSLBACKEND_OPENSSL). The
backend can also be specified via the name parameter (passing -1 as id). If
both id and name are specified, the name will be ignored. If neither id nor
name are specified, the function will fail with CURLSSLSET_UNKNOWN_BACKEND
and set the "avail" pointer to the NULL-terminated list of available
backends.
Upon success, the function returns CURLSSLSET_OK.
If the specified SSL backend is not available, the function returns
CURLSSLSET_UNKNOWN_BACKEND and sets the "avail" pointer to a
NULL-terminated list of available SSL backends.
The SSL backend can be set only once. If it has already been set, a
subsequent attempt to change it will result in a CURLSSLSET_TOO_LATE.
Public Members
id
const char * name