Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/wps/
Dhttp_client.c31 struct httpread *hread; member
55 if (httpread_hdr_type_get(c->hread) == HTTPREAD_HDR_TYPE_REPLY) in http_client_got_response()
57 int reply_code = httpread_reply_code_get(c->hread); in http_client_got_response()
121 c->hread = httpread_create(c->sd, http_client_got_response, c, in http_client_tx_ready()
123 if (c->hread == NULL) { in http_client_tx_ready()
294 httpread_destroy(c->hread); in http_client_free()
307 if (c->hread == NULL) in http_client_get_body()
309 wpabuf_set(&c->body, httpread_data_get(c->hread), in http_client_get_body()
310 httpread_length_get(c->hread)); in http_client_get_body()
317 if (c->hread == NULL) in http_client_get_hdr_line()
[all …]
Dhttp_server.c26 struct httpread *hread; member
79 req->hread = httpread_create(req->fd, http_request_cb, req, in http_request_init()
82 if (req->hread == NULL) { in http_request_init()
115 httpread_destroy(req->hread); in http_request_deinit()
165 return httpread_hdr_type_get(req->hread); in http_request_get_type()
171 return httpread_uri_get(req->hread); in http_request_get_uri()
177 return httpread_hdr_get(req->hread); in http_request_get_hdr()
183 return httpread_data_get(req->hread); in http_request_get_data()
189 return httpread_hdr_line_get(req->hread, tag); in http_request_get_hdr_line()