Lines Matching defs:handler

1006      * continuing.. Response handler has to clear doing_first if not an error.
2838 (sizeof(resource->handler) / sizeof(resource->handler[0]))) &&
2839 !(context->proxy_uri_resource->handler[pdu->code - 1])) {
2841 coap_log_debug("Proxy-%s code %d.%02d handler not supported\n",
2944 * unknown resource handler is defined, a PUT or optionally other methods,
2945 * if configured, for the unknown handler.
2947 * if a PROXY URI/Scheme request and proxy URI handler defined, call the
2948 * proxy URI handler
2952 * else if unknown URI handler defined, call the unknown
2953 * URI handler (to allow for potential generation of resource
2967 (sizeof(resource->handler) / sizeof(coap_method_handler_t))) &&
2968 (context->unknown_resource->handler[pdu->code - 1])) {
2971 * for a PUT request and can support any other registered handler
2985 * handler to be observed
3026 /* the resource was found, check if there is a registered handler */
3028 sizeof(resource->handler) / sizeof(coap_method_handler_t))
3029 h = resource->handler[pdu->code - 1];
3082 * before invoking application request handler
3174 * Call the request handler with everything set up
3176 coap_log_debug("call custom handler for resource '%*.*s' (3)\n",
3227 * application handler made no changes to the response, then
3420 /* Call application-specific response handler when available. */
3805 /* Pass message to upper layer if a specific handler was
4045 resource_uri_wellknown.handler[COAP_REQUEST_GET-1] = hnd_get_wellknown;
4074 coap_response_handler_t handler) {
4076 context->response_handler = handler;
4079 (void)handler;
4085 coap_nack_handler_t handler) {
4086 context->nack_handler = handler;
4091 coap_ping_handler_t handler) {
4092 context->ping_handler = handler;
4097 coap_pong_handler_t handler) {
4098 context->pong_handler = handler;