[#ENGINE_ctrl]
= ENGINE&lowbar;ctrl
:mrdocs:

Dispatch a control command to an ENGINE (deprecated)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
ENGINE&lowbar;ctrl(
    xref:ENGINE.adoc[ENGINE]* e,
    int cmd,
    long i,
    void* p,
    void(* f)());
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

Command&hyphen;specific positive value on success, or non&hyphen;positive on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| ENGINE receiving the command&period;
| *cmd*
| Control command (ENGINE&lowbar;CTRL&lowbar;&ast; or ENGINE&hyphen;specific)&period;
| *i*
| Integer argument for `cmd&period;`
| *p*
| Pointer argument for `cmd,` or NULL when unused&period;
| *f*
| Optional function&hyphen;pointer argument for `cmd,` or NULL&period;
|===


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