ENGINE_CTRL_FUNC_PTR

ENGINE control-command handler (same calling convention as ENGINE_ctrl()).

Synopsis

Declared in <openssl/engine.h>

typedef int(* ENGINE_CTRL_FUNC_PTR)(ENGINE*, int, long, void*, void(*)());

Return Value

Positive on success, or non-positive on failure (command-dependent).

Parameters

NameDescription
eENGINE receiving the command.
cmdControl command number.
iInteger argument for the command.
pPointer argument for the command.
fOptional function-pointer argument for the command.