http-header.c revision 2454dfa32c93c20a8522c6ed42fe057baaac9f9a
/* Copyright (c) 2013-2017 Dovecot authors, see the included COPYING file */
#include "lib.h"
#include "array.h"
#include "http-header.h"
struct http_header {
/* FIXME: ARRAY(struct http_header_field *) *btree; */
};
struct http_header *
{
struct http_header *header;
return header;
}
const struct http_header_field *
{
struct http_header_field *hfield;
void *value;
return hfield;
}
{
const struct http_header_field *hfield;
}
}
}
const ARRAY_TYPE(http_header_field) *
{
}
const struct http_header_field *
{
const struct http_header_field *hfield;
return hfield;
}
return NULL;
}
const char *
{
const struct http_header_field *hfield =
}
{
if (hfield_found != NULL)
return -1;
}
}
*hfield_r = hfield_found;
}