Searched refs:hd_calls (Results 1 – 3 of 3) sorted by relevance
103 if (!hd->hd_calls[i]) { in httpd_find_uri_handler()106 ESP_LOGD(TAG, LOG_FMT("[%d] = %s"), i, hd->hd_calls[i]->uri); in httpd_find_uri_handler()111 hd->config.uri_match_fn(hd->hd_calls[i]->uri, uri, uri_len) : in httpd_find_uri_handler()112 httpd_uri_match_simple(hd->hd_calls[i]->uri, uri, uri_len)) { in httpd_find_uri_handler()114 if (hd->hd_calls[i]->method == method) { in httpd_find_uri_handler()121 return hd->hd_calls[i]; in httpd_find_uri_handler()156 if (hd->hd_calls[i] == NULL) { in httpd_register_uri_handler()157 hd->hd_calls[i] = malloc(sizeof(httpd_uri_t)); in httpd_register_uri_handler()158 if (hd->hd_calls[i] == NULL) { in httpd_register_uri_handler()164 hd->hd_calls[i]->uri = strdup(uri_handler->uri); in httpd_register_uri_handler()[all …]
341 hd->hd_calls = calloc(config->max_uri_handlers, sizeof(httpd_uri_t *)); in httpd_create()342 if (!hd->hd_calls) { in httpd_create()350 free(hd->hd_calls); in httpd_create()359 free(hd->hd_calls); in httpd_create()368 free(hd->hd_calls); in httpd_create()387 free(hd->hd_calls); in httpd_delete()
119 httpd_uri_t **hd_calls; /*!< Registered URI handlers */ member