e8f1e510df3ab051a816715c2056f0d10aee929eStephan BoschARRAY_DEFINE_TYPE(http_header_field, struct http_header_field);
e8f1e510df3ab051a816715c2056f0d10aee929eStephan Boschstatic inline bool http_header_field_is(const struct http_header_field *hfield,
28f18734bd5be3122994f5d85b5a8287e1d9f272Martti Rannanjärvi return (strcasecmp(hfield->name, name) == 0);
e8f1e510df3ab051a816715c2056f0d10aee929eStephan Boschhttp_header_create(pool_t pool, unsigned int init_count);
e8f1e510df3ab051a816715c2056f0d10aee929eStephan Boschhttp_header_field_add(struct http_header *header,
e8f1e510df3ab051a816715c2056f0d10aee929eStephan Bosch const char *name, const unsigned char *data, size_t size);
e8f1e510df3ab051a816715c2056f0d10aee929eStephan Boschvoid http_header_field_delete(struct http_header *header, const char *name);
e8f1e510df3ab051a816715c2056f0d10aee929eStephan Boschhttp_header_get_fields(const struct http_header *header) ATTR_PURE;
e8f1e510df3ab051a816715c2056f0d10aee929eStephan Boschhttp_header_field_find(const struct http_header *header, const char *name)
e8f1e510df3ab051a816715c2056f0d10aee929eStephan Boschhttp_header_field_get(const struct http_header *header, const char *name)
e8f1e510df3ab051a816715c2056f0d10aee929eStephan Boschint http_header_field_find_unique(const struct http_header *header,
9229d5ecc3ebaa38f102eb9e16808bcc7e37c91dTimo Sirainen const char *name, const struct http_header_field **hfield_r);