riot_sys::bindgen

Function sock_tcp_queue_get_async_ctx

Source
pub unsafe extern "C" fn sock_tcp_queue_get_async_ctx(
    queue: *mut sock_tcp_queue_t,
) -> *mut sock_async_ctx_t
Expand description

@brief Gets the asynchronous event context from TCP listening queue

@pre (queue != NULL)

@note Only available with @ref SOCK_HAS_ASYNC and @ref SOCK_HAS_ASYNC_CTX defined.

@see @ref SOCK_HAS_ASYNC_CTX

@param[in] queue A TCP listening queue.

@return The asynchronous event context