[#SSL_as_poll_descriptor]
= SSL&lowbar;as&lowbar;poll&lowbar;descriptor
:mrdocs:

Build a BIO&lowbar;POLL&lowbar;DESCRIPTOR that refers to SSL object `s&period;`

== Synopsis

Declared in `&lt;openssl&sol;ssl&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;maybe&lowbar;unused&rsqb;&rsqb;
static
xref:BIO_POLL_DESCRIPTOR.adoc[BIO&lowbar;POLL&lowbar;DESCRIPTOR]
SSL&lowbar;as&lowbar;poll&lowbar;descriptor(xref:SSL.adoc[SSL]* s);
----

[NOTE]
====
This entity https://en.cppreference.com/cpp/language/attributes/maybe_unused[may be unused^], and the compiler will not warn about it.
====
== Return Value

Descriptor with type BIO&lowbar;POLL&lowbar;DESCRIPTOR&lowbar;TYPE&lowbar;SSL and value&period;ssl set to `s&period;`

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| SSL connection to poll (for example with SSL&lowbar;handle&lowbar;events &sol; BIO&lowbar;poll)&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
