[][src]Function libcoap_sys::coap_find_async

pub unsafe extern "C" fn coap_find_async(
    context: *mut coap_context_t,
    session: *mut coap_session_t,
    id: coap_tid_t
) -> *mut coap_async_state_t

Retrieves the object identified by @p id from the list of asynchronous transactions that are registered with @p context. This function returns a pointer to that object or @c NULL if not found.

@param context The context where the asynchronous objects are registered with. @param session The session that is used for asynchronous transmissions. @param id The id of the object to retrieve.

@return A pointer to the object identified by @p id or @c NULL if not found.