[][src]Function libcoap_sys::coap_get_app_data

pub unsafe extern "C" fn coap_get_app_data(
    context: *const coap_context_t
) -> *mut c_void

Returns any application-specific data that has been stored with @p context using the function coap_set_app_data(). This function will return @c NULL if no data has been stored.

@param context The CoAP context.

@return The data previously stored or @c NULL if not data stored.