Home
last modified time | relevance | path

Searched refs:URI_DATA (Results 1 – 1 of 1) sorted by relevance

/net-tools-3.7.0/libcoap/src/
Duri.c409 #define URI_DATA(uriobj) ((unsigned char *)(uriobj) + sizeof(coap_uri_t)) macro
420 memcpy(URI_DATA(result), uri, length); in coap_new_uri()
421 URI_DATA(result)[length] = '\0'; /* make it zero-terminated */ in coap_new_uri()
423 if (coap_split_uri(URI_DATA(result), length, (coap_uri_t *)result) < 0) { in coap_new_uri()
448 result->host.s = URI_DATA(result); in coap_clone_uri()
455 result->path.s = URI_DATA(result) + uri->host.length; in coap_clone_uri()
462 result->query.s = URI_DATA(result) + uri->host.length + uri->path.length; in coap_clone_uri()