[#ENGINE_set_ctrl_function] = ENGINE_set_ctrl_function :mrdocs: Set the ctrl callback used by ENGINE_ctrl() for an ENGINE (deprecated). == Synopsis Declared in `<openssl/engine.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int ENGINE_set_ctrl_function( xref:ENGINE.adoc[ENGINE]* e, xref:ENGINE_CTRL_FUNC_PTR.adoc[ENGINE_CTRL_FUNC_PTR] ctrl_f); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *e* | ENGINE to update. | *ctrl_f* | Control function, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#