ENGINE_cmd_is_executable

Test whether an ENGINE control command may be used as a config/setting command (deprecated).

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_cmd_is_executable(
    ENGINE* e,
    int cmd);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 if cmd is usable via ENGINE_ctrl_cmd_string(), or 0 if it is internal-only / unavailable.

Parameters

NameDescription
eENGINE whose command definitions are queried.
cmdNumeric command identifier from the ENGINE's cmd_defns.