Retrieve the completion callback previously set on an async wait context.
Declared in <openssl/async.h>
int
ASYNC_WAIT_CTX_get_callback(
ASYNC_WAIT_CTX* ctx,
ASYNC_callback_fn* callback,
void** callback_arg);
1 if a callback is set, or 0 if none was registered.
| Name | Description |
|---|---|
| ctx | Wait context to query. |
| callback | Receives the registered callback function pointer. |
| callback_arg | Receives the callback user argument. |