riot_sys::bindgen

Function sock_udp_get_async_ctx

Source
pub unsafe extern "C" fn sock_udp_get_async_ctx(
    sock: *mut sock_udp_t,
) -> *mut sock_async_ctx_t
Expand description

@brief Gets the asynchronous event context from sock object

@pre (sock != NULL)

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

@see @ref SOCK_HAS_ASYNC_CTX

@param[in] sock A UDP sock object.

@return The asynchronous event context