Searched refs:hread (Results 1 - 8 of 8) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/wps/
H A Dhttp_server.c26 struct httpread *hread; member in struct:http_request
79 req->hread = httpread_create(req->fd, http_request_cb, req,
82 if (req->hread == NULL) {
115 httpread_destroy(req->hread);
165 return httpread_hdr_type_get(req->hread);
171 return httpread_uri_get(req->hread);
177 return httpread_hdr_get(req->hread);
183 return httpread_data_get(req->hread);
189 return httpread_hdr_line_get(req->hread, tag);
H A Dhttp_client.c31 struct httpread *hread; member in struct:http_client
55 if (httpread_hdr_type_get(c->hread) == HTTPREAD_HDR_TYPE_REPLY)
57 int reply_code = httpread_reply_code_get(c->hread);
121 c->hread = httpread_create(c->sd, http_client_got_response, c,
123 if (c->hread == NULL) {
294 httpread_destroy(c->hread);
307 if (c->hread == NULL)
309 wpabuf_set(&c->body, httpread_data_get(c->hread),
310 httpread_length_get(c->hread));
317 if (c->hread
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dhttp_server.c26 struct httpread *hread; member in struct:http_request
79 req->hread = httpread_create(req->fd, http_request_cb, req,
82 if (req->hread == NULL) {
115 httpread_destroy(req->hread);
165 return httpread_hdr_type_get(req->hread);
171 return httpread_uri_get(req->hread);
177 return httpread_hdr_get(req->hread);
183 return httpread_data_get(req->hread);
189 return httpread_hdr_line_get(req->hread, tag);
H A Dhttp_client.c31 struct httpread *hread; member in struct:http_client
55 if (httpread_hdr_type_get(c->hread) == HTTPREAD_HDR_TYPE_REPLY)
57 int reply_code = httpread_reply_code_get(c->hread);
121 c->hread = httpread_create(c->sd, http_client_got_response, c,
123 if (c->hread == NULL) {
294 httpread_destroy(c->hread);
307 if (c->hread == NULL)
309 wpabuf_set(&c->body, httpread_data_get(c->hread),
310 httpread_length_get(c->hread));
317 if (c->hread
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dhttp_server.c26 struct httpread *hread; member in struct:http_request
79 req->hread = httpread_create(req->fd, http_request_cb, req,
82 if (req->hread == NULL) {
115 httpread_destroy(req->hread);
165 return httpread_hdr_type_get(req->hread);
171 return httpread_uri_get(req->hread);
177 return httpread_hdr_get(req->hread);
183 return httpread_data_get(req->hread);
189 return httpread_hdr_line_get(req->hread, tag);
H A Dhttp_client.c31 struct httpread *hread; member in struct:http_client
55 if (httpread_hdr_type_get(c->hread) == HTTPREAD_HDR_TYPE_REPLY)
57 int reply_code = httpread_reply_code_get(c->hread);
121 c->hread = httpread_create(c->sd, http_client_got_response, c,
123 if (c->hread == NULL) {
294 httpread_destroy(c->hread);
307 if (c->hread == NULL)
309 wpabuf_set(&c->body, httpread_data_get(c->hread),
310 httpread_length_get(c->hread));
317 if (c->hread
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/wps/
H A Dwps_upnp_event.c60 struct httpread *hread; /* NULL or open connection for event msg */ member in struct:wps_event_
83 if (e->hread)
84 httpread_destroy(e->hread);
85 e->hread = NULL;
220 struct httpread *hread = e->hread; local
227 if (httpread_hdr_type_get(hread) == HTTPREAD_HDR_TYPE_REPLY) {
228 reply_code = httpread_reply_code_get(hread);
337 e->hread = httpread_create(e->sd, event_got_response_handler,
341 if (e->hread
[all...]
H A Dwps_upnp_web.c56 struct httpread *hread; /* state machine for reading socket */ member in struct:web_connection
595 httpread_destroy(c->hread);
596 c->hread = NULL;
1305 b = httpread_hdr_line_get(c->hread, "SOAPAction:");
1357 char *data = httpread_data_get(c->hread); /* body of http msg */
1446 char *hdr = httpread_hdr_get(c->hread);
1656 char *hdr = httpread_hdr_get(c->hread);
1769 struct httpread *hread = c->hread; local
1770 enum httpread_hdr_type htype = httpread_hdr_type_get(hread);
[all...]

Completed in 86 milliseconds