Searched refs:ep_uri (Results 1 – 1 of 1) sorted by relevance
192 char* ep_uri = calloc(1, strlen(ep_name) + 2); in protocomm_httpd_add_endpoint() local193 if (!ep_uri) { in protocomm_httpd_add_endpoint()199 sprintf(ep_uri, "/%s", ep_name); in protocomm_httpd_add_endpoint()201 .uri = ep_uri, in protocomm_httpd_add_endpoint()212 free(ep_uri); in protocomm_httpd_add_endpoint()216 free(ep_uri); in protocomm_httpd_add_endpoint()229 char* ep_uri = calloc(1, strlen(ep_name) + 2); in protocomm_httpd_remove_endpoint() local230 if (!ep_uri) { in protocomm_httpd_remove_endpoint()234 sprintf(ep_uri, "/%s", ep_name); in protocomm_httpd_remove_endpoint()239 if ((err = httpd_unregister_uri_handler(*server, ep_uri, HTTP_POST)) != ESP_OK) { in protocomm_httpd_remove_endpoint()[all …]