[#SSL_client_hello_get1_extensions_present]
= SSL&lowbar;client&lowbar;hello&lowbar;get1&lowbar;extensions&lowbar;present
:mrdocs:

Allocate and return the list of extension types present in a ClientHello&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
SSL&lowbar;client&lowbar;hello&lowbar;get1&lowbar;extensions&lowbar;present(
    xref:SSL.adoc[SSL]* s,
    int** out,
    size&lowbar;t* outlen);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *s*
| Server SSL connection inside a ClientHello callback (or with a parsed ClientHello)&period;
| *out*
| Receives a newly allocated array of extension type integers&semi; free with OPENSSL&lowbar;free&period;
| *outlen*
| Receives the number of entries in &ast;`out&period;`
|===


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