Lines Matching defs:hfield
28 struct http_header_field *hfield;
32 hfield = array_append_space(&header->fields);
33 hfield->name = p_strdup(pool, name);
34 hfield->size = size;
38 hfield->value = (const char *)value;
40 return hfield;
46 const struct http_header_field *hfield;
48 array_foreach(hfields, hfield) {
49 if (http_header_field_is(hfield, name)) {
50 array_delete(hfields, array_foreach_idx(hfields, hfield), 1);
64 const struct http_header_field *hfield;
66 array_foreach(&header->fields, hfield) {
67 if (http_header_field_is(hfield, name))
68 return hfield;
77 const struct http_header_field *hfield =
79 return (hfield == NULL ? NULL : hfield->value);
85 const struct http_header_field *hfield, *hfield_found = NULL;
87 array_foreach(&header->fields, hfield) {
88 if (http_header_field_is(hfield, name)) {
91 hfield_found = hfield;