Home
last modified time | relevance | path

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

/net-tools-latest/libcoap/src/
Dresource.c242 coap_attr_t *attr; local
244 attr = coap_find_attr(r, resource_param.s, resource_param.length);
245 if (!attr) continue;
246 …if (attr->value.s[0] == '"') { /* if attribute has a quoted value, remove double quotes */
247 unquoted_val.length = attr->value.length - 2;
248 unquoted_val.s = attr->value.s + 1;
250 unquoted_val = attr->value;
318 coap_attr_t *attr; local
324 attr = (coap_attr_t *)memp_malloc(MEMP_COAP_RESOURCEATTR);
327 attr = (coap_attr_t *)coap_malloc_type(COAP_RESOURCEATTR, sizeof(coap_attr_t));
[all …]
/net-tools-latest/libcoap/include/coap/
Dresource.h195 void coap_delete_attr(coap_attr_t *attr);