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

Name

Description

e

ENGINE receiving the command.

cmd

Control command (ENGINE_CTRL_* or ENGINE‐specific).

i

Integer argument for cmd.

p

Pointer argument for cmd, or NULL when unused.

f

Optional function‐pointer argument for cmd, or NULL.

Created with MrDocs