Dispatch a control command to an ENGINE (deprecated).
Declared in <openssl/engine.h>
[[deprecated]]
int
ENGINE_ctrl(
ENGINE* e,
int cmd,
long i,
void* p,
void(* f)());
Deprecated. Use of this entity is allowed but discouraged.
Command-specific positive value on success, or non-positive on failure.
| 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. |