Searched refs:evalias (Results 1 – 1 of 1) sorted by relevance
3336 struct evhttp_server_alias *evalias; in evhttp_add_server_alias() local3338 evalias = mm_calloc(1, sizeof(*evalias)); in evhttp_add_server_alias()3339 if (!evalias) in evhttp_add_server_alias()3342 evalias->alias = mm_strdup(alias); in evhttp_add_server_alias()3343 if (!evalias->alias) { in evhttp_add_server_alias()3344 mm_free(evalias); in evhttp_add_server_alias()3348 TAILQ_INSERT_TAIL(&http->aliases, evalias, next); in evhttp_add_server_alias()3356 struct evhttp_server_alias *evalias; in evhttp_remove_server_alias() local3358 TAILQ_FOREACH(evalias, &http->aliases, next) { in evhttp_remove_server_alias()3359 if (evutil_ascii_strcasecmp(evalias->alias, alias) == 0) { in evhttp_remove_server_alias()[all …]