|ENGINE_INIT(3)||Library Functions Manual||ENGINE_INIT(3)|
initialize ENGINE objects
*e, ENGINE_GEN_INT_FUNC_PTR init_f);
*e, ENGINE_GEN_INT_FUNC_PTR finish_f);
initializes e by calling the
init_f previously installed with
if any. In case of success, it also increments both the structural and the
functional reference count by 1. If no init_f was
ENGINE_init() always succeeds. Calling
ENGINE_init() again after it already succeeded
always succeeds, but has no effect except that it increments both the
structural and the functional reference count by 1.
decrements the functional reference count by 1. When it reaches 0, it calls
the finish_f previously installed with
if any. If no finish_f was installed,
ENGINE_finish() always succeeds. Unless
ENGINE_finish() also calls
ENGINE_finish() return 1 on success or 0 on
ENGINE_set_finish_function() always return 1.
ENGINE_get_finish_function() return a function
pointer to the respective callback, or
NULL if none
These functions first appeared in OpenSSL 0.9.7 and have been available since OpenBSD 2.9.
|April 18, 2018||OpenBSD-current|