[#SSL_CTX_set_next_proto_select_cb] = SSL_CTX_set_next_proto_select_cb :mrdocs: Set the Next Protocol Negotiation (NPN) selection callback for clients. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SSL_CTX_set_next_proto_select_cb( xref:SSL_CTX.adoc[SSL_CTX]* s, xref:SSL_CTX_npn_select_cb_func.adoc[SSL_CTX_npn_select_cb_func] cb, void* arg); ---- == Parameters [cols="1,4"] |=== | Name| Description | *s* | SSL context used by NPN clients. | *cb* | Callback that chooses a protocol from the server list. | *arg* | Opaque pointer passed to `cb.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#