[#OSSL_PROVIDER_query_operation]
= OSSL&lowbar;PROVIDER&lowbar;query&lowbar;operation
:mrdocs:

Query algorithms a provider implements for an operation&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OSSL_ALGORITHM.adoc[OSSL&lowbar;ALGORITHM] const*
OSSL&lowbar;PROVIDER&lowbar;query&lowbar;operation(
    xref:OSSL_PROVIDER.adoc[OSSL&lowbar;PROVIDER] const* prov,
    int operation&lowbar;id,
    int* no&lowbar;cache);
----

== Return Value

Algorithm array owned by the provider until OSSL&lowbar;PROVIDER&lowbar;unquery&lowbar;operation(), or NULL&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *prov*
| Provider to query&period;
| *operation&lowbar;id*
| Operation identifier (OSSL&lowbar;OP&lowbar;&ast;)&period;
| *no&lowbar;cache*
| Optional output set nonzero when results must not be cached&semi; may be NULL&period;
|===


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