Lines Matching refs:resource
131 void coap_add_resource(coap_context_t *context, coap_resource_t *resource);
168 coap_attr_t *coap_add_attr(coap_resource_t *resource,
185 coap_attr_t *coap_find_attr(coap_resource_t *resource,
234 coap_print_status_t coap_print_link(const coap_resource_t *resource,
248 coap_register_handler(coap_resource_t *resource, in coap_register_handler() argument
251 assert(resource); in coap_register_handler()
252 …assert(method > 0 && (size_t)(method-1) < sizeof(resource->handler)/sizeof(coap_method_handler_t)); in coap_register_handler()
253 resource->handler[method-1] = handler; in coap_register_handler()
295 coap_subscription_t *coap_add_observer(coap_resource_t *resource,
309 coap_subscription_t *coap_find_observer(coap_resource_t *resource,
336 int coap_delete_observer(coap_resource_t *resource,