header.h 398 Bytes
#ifndef __HTTP_HEADER_H__
#define __HTTP_HEADER_H__

#include "class.h"

CLASS(HttpHeader) {
	unsigned long hash;
	char *        name;
	char *        value;
};

HttpHeader httpHeaderParse(char * line);   // @INFO: destructive
void       httpHeaderSort(const HttpHeader [], int);
char *     httpHeaderGet(const HttpHeader [], int, const char *);

#endif // __HTTP_HEADER_H__

// vim: set ts=4 sw=4: