* $Id$
*/
-HTTPH("Accept-Charset", H_Accept_Charset)
-HTTPH("Accept-Encoding", H_Accept_Encoding)
-HTTPH("Accept-Language", H_Accept_Language)
-HTTPH("Accept", H_Accept)
-HTTPH("Authorization", H_Authorization)
-HTTPH("Connection", H_Connection)
-HTTPH("Expect", H_Expect)
-HTTPH("From", H_From)
-HTTPH("Host", H_Host)
-HTTPH("If-Match", H_If_Match)
-HTTPH("If-Modified-Since", H_If_Modified_Since)
-HTTPH("If-None-Match", H_If_None_Match)
-HTTPH("If-Range", H_If_Range)
-HTTPH("If-Unmodified-Since", H_If_Unmodifed_Since)
-HTTPH("Keep-Alive", H_Keep_Alive)
-HTTPH("Max-Forwards", H_Max_Forwards)
-HTTPH("Proxy-Authorization", H_Proxy_Authorization)
-HTTPH("Range", H_Range)
-HTTPH("Referer", H_Referer)
-HTTPH("TE", H_TE)
-HTTPH("User-Agent", H_User_Agent)
+HTTPH("Accept-Charset", H_Accept_Charset, 0, 0, 0, 0, 0)
+HTTPH("Accept-Encoding", H_Accept_Encoding, 0, 0, 0, 0, 0)
+HTTPH("Accept-Language", H_Accept_Language, 0, 0, 0, 0, 0)
+HTTPH("Accept", H_Accept, 0, 0, 0, 0, 0)
+HTTPH("Authorization", H_Authorization, 0, 0, 0, 0, 0)
+HTTPH("Connection", H_Connection, 0, 0, 0, 0, 0)
+HTTPH("Expect", H_Expect, 0, 0, 0, 0, 0)
+HTTPH("From", H_From, 0, 0, 0, 0, 0)
+HTTPH("Host", H_Host, 0, 0, 0, 0, 0)
+HTTPH("If-Match", H_If_Match, 0, 0, 0, 0, 0)
+HTTPH("If-Modified-Since", H_If_Modified_Since, 0, 0, 0, 0, 0)
+HTTPH("If-None-Match", H_If_None_Match, 0, 0, 0, 0, 0)
+HTTPH("If-Range", H_If_Range, 0, 0, 0, 0, 0)
+HTTPH("If-Unmodified-Since", H_If_Unmodifed_Since, 0, 0, 0, 0, 0)
+HTTPH("Keep-Alive", H_Keep_Alive, 0, 0, 0, 0, 0)
+HTTPH("Max-Forwards", H_Max_Forwards, 0, 0, 0, 0, 0)
+HTTPH("Proxy-Authorization", H_Proxy_Authorization, 0, 0, 0, 0, 0)
+HTTPH("Range", H_Range, 0, 0, 0, 0, 0)
+HTTPH("Referer", H_Referer, 0, 0, 0, 0, 0)
+HTTPH("TE", H_TE, 0, 0, 0, 0, 0)
+HTTPH("User-Agent", H_User_Agent, 0, 0, 0, 0, 0)
fputs(" const char *req_b;\n", f);
fputs(" const char *url_b;\n", f);
fputs(" const char *proto_b;\n", f);
- fputs("#define HTTPH(a, b) const char *b;\n", f);
+ fputs("#define HTTPH(a, b, c, d, e, f, g) const char *b;\n", f);
fputs("/*\n", f);
fputs(" * $Id$\n", f);
fputs(" */\n", f);
fputs("\n", f);
- fputs("HTTPH(\"Accept-Charset\", H_Accept_Charset)\n", f);
- fputs("HTTPH(\"Accept-Encoding\", H_Accept_Encoding)\n", f);
- fputs("HTTPH(\"Accept-Language\", H_Accept_Language)\n", f);
- fputs("HTTPH(\"Accept\", H_Accept)\n", f);
- fputs("HTTPH(\"Authorization\", H_Authorization)\n", f);
- fputs("HTTPH(\"Connection\", H_Connection)\n", f);
- fputs("HTTPH(\"Expect\", H_Expect)\n", f);
- fputs("HTTPH(\"From\", H_From)\n", f);
- fputs("HTTPH(\"Host\", H_Host)\n", f);
- fputs("HTTPH(\"If-Match\", H_If_Match)\n", f);
- fputs("HTTPH(\"If-Modified-Since\", H_If_Modified_Since)\n", f);
- fputs("HTTPH(\"If-None-Match\", H_If_None_Match)\n", f);
- fputs("HTTPH(\"If-Range\", H_If_Range)\n", f);
- fputs("HTTPH(\"If-Unmodified-Since\", H_If_Unmodifed_Since)\n", f);
- fputs("HTTPH(\"Keep-Alive\", H_Keep_Alive)\n", f);
- fputs("HTTPH(\"Max-Forwards\", H_Max_Forwards)\n", f);
- fputs("HTTPH(\"Proxy-Authorization\", H_Proxy_Authorization)\n", f);
- fputs("HTTPH(\"Range\", H_Range)\n", f);
- fputs("HTTPH(\"Referer\", H_Referer)\n", f);
- fputs("HTTPH(\"TE\", H_TE)\n", f);
- fputs("HTTPH(\"User-Agent\", H_User_Agent)\n", f);
+ fputs("HTTPH(\"Accept-Charset\", H_Accept_Charset, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Accept-Encoding\", H_Accept_Encoding, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Accept-Language\", H_Accept_Language, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Accept\", H_Accept, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Authorization\", H_Authorization, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Connection\", H_Connection, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Expect\", H_Expect, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"From\", H_From, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Host\", H_Host, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"If-Match\", H_If_Match, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"If-Modified-Since\", H_If_Modified_Since, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"If-None-Match\", H_If_None_Match, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"If-Range\", H_If_Range, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"If-Unmodified-Since\", H_If_Unmodifed_Since, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Keep-Alive\", H_Keep_Alive, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Max-Forwards\", H_Max_Forwards, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Proxy-Authorization\", H_Proxy_Authorization, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Range\", H_Range, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"Referer\", H_Referer, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"TE\", H_TE, 0, 0, 0, 0, 0)\n", f);
+ fputs("HTTPH(\"User-Agent\", H_User_Agent, 0, 0, 0, 0, 0)\n", f);
fputs("#undef HTTPH\n", f);
fputs("\n", f);
fputs(" enum {\n", f);