[#SSL_client_hello_get_extension_order] = SSL_client_hello_get_extension_order :mrdocs: Copy ClientHello extension type values in the order they appeared. == Synopsis Declared in `<openssl/ssl.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int SSL_client_hello_get_extension_order( xref:SSL.adoc[SSL]* s, uint16_t* exts, size_t* num_exts); ---- == Return Value 1 on success, or 0 on failure (including when `exts` is too small). == Parameters [cols="1,4"] |=== | Name| Description | *s* | Server SSL connection inside a ClientHello callback (or with a parsed ClientHello). | *exts* | Buffer that receives ExtensionType values, or NULL to query the required count only. | *num_exts* | On input, capacity of `exts` when non‐NULL; on output, the number of extensions. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#