Searched refs:num_headers (Results 1 – 1 of 1) sorted by relevance
147 int num_headers; member158 req->num_headers = 0; in http_req_zero()169 for (i = 0; i < req->num_headers; i++) in http_req_free()181 for (i = 0; i < req->num_headers; i++) { in http_find_header()192 char **headers, int num_headers, struct http_req *req) in http_query() argument207 for (i = 0; i < num_headers; i++) in http_query()246 (req->num_headers + 1) * sizeof(req->headers[0])); in http_query()247 req->headers[req->num_headers] = emalloc(p - in_buf + 1); in http_query()248 memcpy(req->headers[req->num_headers], in_buf, p - in_buf); in http_query()249 req->headers[req->num_headers][p - in_buf] = '\0'; in http_query()[all …]