http-response.h revision a8741f46cb3cf40e58e3d47b263f238918243380
#ifndef HTTP_RESPONSE_H
#define HTTP_RESPONSE_H
#include "array.h"
#include "http-header.h"
#define HTTP_RESPONSE_STATUS_INTERNAL 9000
enum http_response_payload_type {
};
struct http_response {
unsigned char version_major;
unsigned char version_minor;
unsigned int status;
const char *reason;
const char *location;
const struct http_header *header;
bool connection_close:1;
};
void
static inline const struct http_header_field *
{
return NULL;
}
static inline const char *
{
return NULL;
}
static inline const ARRAY_TYPE(http_header_field) *
{
return NULL;
}
const char *option);
#endif