[#OCSP_REQUEST_get_ext_count]
= OCSP&lowbar;REQUEST&lowbar;get&lowbar;ext&lowbar;count
:mrdocs:

Return the number of extensions on an OCSP request&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OCSP&lowbar;REQUEST&lowbar;get&lowbar;ext&lowbar;count(xref:OCSP_REQUEST.adoc[OCSP&lowbar;REQUEST]* x);
----

== Return Value

Extension count, or 0 if none&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *x*
| OCSP request to query&period;
|===


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