Searched refs:hread (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/wps/ |
D | http_client.c | 31 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 …]
|
D | http_server.c | 26 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()
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
D | wps_upnp_event.c | 60 struct httpread *hread; /* NULL or open connection for event msg */ member 83 if (e->hread) in event_clean() 84 httpread_destroy(e->hread); in event_clean() 85 e->hread = NULL; in event_clean() 220 struct httpread *hread = e->hread; in event_got_response_handler() local 227 if (httpread_hdr_type_get(hread) == HTTPREAD_HDR_TYPE_REPLY) { in event_got_response_handler() 228 reply_code = httpread_reply_code_get(hread); in event_got_response_handler() 337 e->hread = httpread_create(e->sd, event_got_response_handler, in event_send_tx_ready() 341 if (e->hread == NULL) { in event_send_tx_ready()
|
D | wps_upnp_web.c | 56 struct httpread *hread; /* state machine for reading socket */ member 595 httpread_destroy(c->hread); in web_connection_stop() 596 c->hread = NULL; in web_connection_stop() 1305 b = httpread_hdr_line_get(c->hread, "SOAPAction:"); in web_get_action() 1357 char *data = httpread_data_get(c->hread); /* body of http msg */ in web_connection_parse_post() 1446 char *hdr = httpread_hdr_get(c->hread); in web_connection_parse_subscribe() 1656 char *hdr = httpread_hdr_get(c->hread); in web_connection_parse_unsubscribe() 1769 struct httpread *hread = c->hread; in web_connection_check_data() local 1770 enum httpread_hdr_type htype = httpread_hdr_type_get(hread); in web_connection_check_data() 1772 char *filename = httpread_uri_get(hread); in web_connection_check_data() [all …]
|