openthread_sys

Function otTcpEndpointGetContext

Source
pub unsafe extern "C" fn otTcpEndpointGetContext(
    aEndpoint: *mut otTcpEndpoint,
) -> *mut c_void
Expand description

Obtains the context pointer that was associated with @p aEndpoint upon initialization.

@param[in] aEndpoint The TCP endpoint whose context to obtain.

@returns The context pointer associated with @p aEndpoint.