[#ENGINE_set_finish_function] = ENGINE_set_finish_function :mrdocs: Set the callback invoked by ENGINE_finish() to shut down an ENGINE. == Synopsis Declared in `<openssl/engine.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int ENGINE_set_finish_function( xref:ENGINE.adoc[ENGINE]* e, xref:ENGINE_GEN_INT_FUNC_PTR.adoc[ENGINE_GEN_INT_FUNC_PTR] finish_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 whose finish hook is replaced. | *finish_f* | Function called to release functional state of `e,` or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#