Home
last modified time | relevance | path

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

/external/libevent/
Dhttp.c3752 struct evhttp_server_alias *evalias; in evhttp_add_server_alias() local
3754 evalias = mm_calloc(1, sizeof(*evalias)); in evhttp_add_server_alias()
3755 if (!evalias) in evhttp_add_server_alias()
3758 evalias->alias = mm_strdup(alias); in evhttp_add_server_alias()
3759 if (!evalias->alias) { in evhttp_add_server_alias()
3760 mm_free(evalias); in evhttp_add_server_alias()
3764 TAILQ_INSERT_TAIL(&http->aliases, evalias, next); in evhttp_add_server_alias()
3772 struct evhttp_server_alias *evalias; in evhttp_remove_server_alias() local
3774 TAILQ_FOREACH(evalias, &http->aliases, next) { in evhttp_remove_server_alias()
3775 if (evutil_ascii_strcasecmp(evalias->alias, alias) == 0) { in evhttp_remove_server_alias()
[all …]