Home
last modified time | relevance | path

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

/external/libevent/
Dhttp.c3257 struct evhttp_cb *http_cb; in evhttp_free() local
3277 while ((http_cb = TAILQ_FIRST(&http->callbacks)) != NULL) { in evhttp_free()
3278 TAILQ_REMOVE(&http->callbacks, http_cb, next); in evhttp_free()
3279 mm_free(http_cb->what); in evhttp_free()
3280 mm_free(http_cb); in evhttp_free()
3404 struct evhttp_cb *http_cb; in evhttp_set_cb() local
3406 TAILQ_FOREACH(http_cb, &http->callbacks, next) { in evhttp_set_cb()
3407 if (strcmp(http_cb->what, uri) == 0) in evhttp_set_cb()
3411 if ((http_cb = mm_calloc(1, sizeof(struct evhttp_cb))) == NULL) { in evhttp_set_cb()
3416 http_cb->what = mm_strdup(uri); in evhttp_set_cb()
[all …]