[#SSL_CTX_npn_advertised_cb_func] = SSL_CTX_npn_advertised_cb_func :mrdocs: NPN server callback that advertises the server's protocol list. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- typedef int(* SSL_CTX_npn_advertised_cb_func)(xref:SSL.adoc[SSL]*, unsigned char const**, unsigned int*, void*); ---- == Return Value SSL_TLSEXT_ERR_OK to send the list, or another SSL_TLSEXT_ERR_* code. == Parameters [cols="1,4"] |=== | Name| Description | *ssl* | Server SSL connection performing NPN. | *out* | Set to the wire‐format protocol list to advertise. | *outlen* | Receives the length of *`out.` | *arg* | User argument from SSL_CTX_set_next_protos_advertised_cb. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#