Lines Matching refs:http_header

447 static void http_header_node_free(struct http_header *node)  in http_header_node_free()
454 void http_header_free(struct http_header *header) in http_header_free()
456 struct http_header *p, *next; in http_header_free()
513 char *http_header_get(const struct http_header *header, const char *name) in http_header_get()
515 const struct http_header *p; in http_header_get()
540 const struct http_header *http_header_next(const struct http_header *header, in http_header_next()
541 const struct http_header *p, const char *name) in http_header_next()
558 char *http_header_get_first(const struct http_header *header, const char *name) in http_header_get_first()
560 const struct http_header *p; in http_header_get_first()
569 struct http_header *http_header_set(struct http_header *header, const char *name, const char *value) in http_header_set()
571 struct http_header *node, **prev; in http_header_set()
575 node = (struct http_header *) safe_malloc(sizeof(*node)); in http_header_set()
689 struct http_header *http_header_remove(struct http_header *header, const char *name) in http_header_remove()
691 struct http_header *p, *next, **prev; in http_header_remove()
710 int http_header_remove_hop_by_hop(struct http_header **header) in http_header_remove_hop_by_hop()
761 char *http_header_to_string(const struct http_header *header, size_t *n) in http_header_to_string()
763 const struct http_header *p; in http_header_to_string()
940 int http_parse_header(struct http_header **result, const char *header) in http_parse_header()
944 struct http_header *node, **prev; in http_parse_header()
960 node = (struct http_header *) safe_malloc(sizeof(*node)); in http_parse_header()
996 static int http_header_get_content_length(const struct http_header *header, int *content_length_set… in http_header_get_content_length()
1521 struct http_challenge *http_header_get_proxy_challenge(const struct http_header *header, struct htt… in http_header_get_proxy_challenge()
1523 const struct http_header *p; in http_header_get_proxy_challenge()
1552 struct http_credentials *http_header_get_proxy_credentials(const struct http_header *header, struct… in http_header_get_proxy_credentials()
1554 const struct http_header *p; in http_header_get_proxy_credentials()