[][src]Function libcoap_sys::coap_opt_value

pub unsafe extern "C" fn coap_opt_value(opt: *const coap_opt_t) -> *const u8

Returns a pointer to the value of the given option. @p opt must point to an option jump or the beginning of the option. This function returns @c NULL if @p opt is not a valid option.

@param opt The option whose value should be returned.

@return A pointer to the option value or @c NULL on error.