Home
last modified time | relevance | path

Searched refs:ep_uri (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.5.0/components/protocomm/src/transports/
Dprotocomm_httpd.c192 char* ep_uri = calloc(1, strlen(ep_name) + 2); in protocomm_httpd_add_endpoint() local
193 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() local
230 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 …]