[#OSSL_PROVIDER_available]
= OSSL&lowbar;PROVIDER&lowbar;available
:mrdocs:

Report whether a named provider is available in a library context&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;PROVIDER&lowbar;available(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* ctx,
    char const* name);
----

== Return Value

1 if the provider is available (loaded or loadable as configured), or 0 otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Library context to query, or NULL for the default&period;
| *name*
| Provider name to look up&period;
|===


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