|
server 0.0.1
basicserverinfrastructure
|
00001 #ifndef __HTTP_HEADER_H__ 00002 #define __HTTP_HEADER_H__ 00003 00004 #include "class.h" 00005 00006 CLASS(HttpHeader) { 00007 unsigned long hash; 00008 char * name; 00009 char * value; 00010 }; 00011 00012 HttpHeader httpHeaderParse(char * line); // @INFO: destructive 00013 void httpHeaderSort(const HttpHeader [], int); 00014 char * httpHeaderGet(const HttpHeader [], int, const char *); 00015 00016 #endif // __HTTP_HEADER_H__ 00017 00018 // vim: set ts=4 sw=4: