You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
398 B
18 lines
398 B
#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:
|