[][src]Function libcoap_sys::coap_clone_uri

pub unsafe extern "C" fn coap_clone_uri(
    uri: *const coap_uri_t
) -> *mut coap_uri_t

Clones the specified coap_uri_t object. Thie function allocates sufficient memory to hold the coap_uri_t structure and its contents. The object must be released with coap_free().