Searched refs:hd_calls (Results 1 – 3 of 3) sorted by relevance
95 if (!hd->hd_calls[i]) { in httpd_find_uri_handler()98 ESP_LOGD(TAG, LOG_FMT("[%d] = %s"), i, hd->hd_calls[i]->uri); in httpd_find_uri_handler()103 hd->config.uri_match_fn(hd->hd_calls[i]->uri, uri, uri_len) : in httpd_find_uri_handler()104 httpd_uri_match_simple(hd->hd_calls[i]->uri, uri, uri_len)) { in httpd_find_uri_handler()106 if (hd->hd_calls[i]->method == method) { in httpd_find_uri_handler()113 return hd->hd_calls[i]; in httpd_find_uri_handler()148 if (hd->hd_calls[i] == NULL) { in httpd_register_uri_handler()149 hd->hd_calls[i] = malloc(sizeof(httpd_uri_t)); in httpd_register_uri_handler()150 if (hd->hd_calls[i] == NULL) { in httpd_register_uri_handler()156 hd->hd_calls[i]->uri = strdup(uri_handler->uri); in httpd_register_uri_handler()[all …]
344 hd->hd_calls = calloc(config->max_uri_handlers, sizeof(httpd_uri_t *)); in httpd_create()345 if (!hd->hd_calls) { in httpd_create()353 free(hd->hd_calls); in httpd_create()362 free(hd->hd_calls); in httpd_create()371 free(hd->hd_calls); in httpd_create()390 free(hd->hd_calls); in httpd_delete()
114 httpd_uri_t **hd_calls; /*!< Registered URI handlers */ member