Home
last modified time | relevance | path

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

/net-tools-latest/libcoap/include/coap/
Duri.h26 } coap_uri_t; typedef
38 coap_uri_t *coap_new_uri(const unsigned char *uri, unsigned int length);
44 coap_uri_t *coap_clone_uri(const coap_uri_t *uri);
81 int coap_split_uri(unsigned char *str_var, size_t len, coap_uri_t *uri);
/net-tools-latest/libcoap/src/
Duri.c45 coap_split_uri(unsigned char *str_var, size_t len, coap_uri_t *uri) { in coap_split_uri()
52 memset(uri, 0, sizeof(coap_uri_t)); in coap_split_uri()
409 #define URI_DATA(uriobj) ((unsigned char *)(uriobj) + sizeof(coap_uri_t))
411 coap_uri_t *
415 result = coap_malloc(length + 1 + sizeof(coap_uri_t)); in coap_new_uri()
423 if (coap_split_uri(URI_DATA(result), length, (coap_uri_t *)result) < 0) { in coap_new_uri()
427 return (coap_uri_t *)result; in coap_new_uri()
430 coap_uri_t *
431 coap_clone_uri(const coap_uri_t *uri) { in coap_clone_uri()
432 coap_uri_t *result; in coap_clone_uri()
[all …]
/net-tools-latest/libcoap/tests/
Dtest_uri.c21 coap_uri_t uri; in t_parse_uri1()
44 coap_uri_t uri; in t_parse_uri2()
67 coap_uri_t uri; in t_parse_uri3()
89 coap_uri_t uri; in t_parse_uri4()
99 coap_uri_t uri; in t_parse_uri5()
122 coap_uri_t uri; in t_parse_uri6()
145 coap_uri_t uri; in t_parse_uri7()
186 coap_uri_t uri; in t_parse_uri8()
200 coap_uri_t uri; in t_parse_uri9()
214 coap_uri_t uri; in t_parse_uri10()
[all …]
/net-tools-latest/libcoap/examples/contiki/
Dcoap-observer.c115 coap_uri_t uri; in PROCESS_THREAD()
/net-tools-latest/libcoap/examples/
Dclient.c39 static coap_uri_t uri;
/net-tools-latest/
Dcoap-client.c670 coap_uri_t uri; in parse_uri()