Lines Matching refs:r
119 coap_resource_set_mode(coap_resource_t *r, int mode) { in coap_resource_set_mode() argument
120 r->flags = (r->flags & !COAP_RESOURCE_FLAGS_NOTIFY_CON) | mode; in coap_resource_set_mode()
348 #define RESOURCES_ADD(r, obj) \ argument
349 LL_PREPEND((r), (obj))
351 #define RESOURCES_DELETE(r, obj) \ argument
352 LL_DELETE((r), (obj))
354 #define RESOURCES_ITER(r,tmp) \ argument
356 LL_FOREACH((r), tmp)
358 #define RESOURCES_FIND(r, k, res) { \ argument
361 LL_FOREACH((r), tmp) { \
370 #define RESOURCES_ADD(r, obj) \ argument
371 HASH_ADD(hh, (r), key, sizeof(coap_key_t), (obj))
373 #define RESOURCES_DELETE(r, obj) \ argument
374 HASH_DELETE(hh, (r), (obj))
376 #define RESOURCES_ITER(r,tmp) \ argument
378 HASH_ITER(hh, (r), tmp, rtmp)
380 #define RESOURCES_FIND(r, k, res) { \ argument
381 HASH_FIND(hh, (r), (k), sizeof(coap_key_t), (res)); \