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