ENGINE_ctrl

Dispatch a control command to an ENGINE (deprecated).

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_ctrl(
    ENGINE* e,
    int cmd,
    long i,
    void* p,
    void(* f)());

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Command-specific positive value on success, or non-positive on failure.

Parameters

NameDescription
eENGINE receiving the command.
cmdControl command (ENGINE_CTRL_* or ENGINE-specific).
iInteger argument for cmd.
pPointer argument for cmd, or NULL when unused.
fOptional function-pointer argument for cmd, or NULL.