Invoke an ENGINE control command looked up by name rather than number.
Declared in <openssl/engine.h>
[[deprecated]]
int
ENGINE_ctrl_cmd(
ENGINE* e,
char const* cmd_name,
long i,
void* p,
void(* f)(),
int cmd_optional);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| e | Structural reference to the ENGINE; many commands also require it to be functional. |
| cmd_name | NUL-terminated name of the command (from the ENGINE's cmd_defns). |
| i | Integer argument forwarded to the ENGINE ctrl handler. |
| p | Pointer argument forwarded to the ENGINE ctrl handler. |
| f | Optional function-pointer argument forwarded to the ENGINE ctrl handler. |
| cmd_optional | Non-zero to treat an unsupported cmd_name as success. |