ASYNC_get_current_job

Return the ASYNC_JOB currently executing on this thread, if any.

Synopsis

Declared in <openssl/async.h>

ASYNC_JOB*
ASYNC_get_current_job();

Return Value

The current job, or NULL when called outside an ASYNC job.