}; /* namespace Http */
+std::ostream&
+operator<< (std::ostream &s, Http::HdrType id)
+{
+ if (Http::any_HdrType_enum_value(id))
+ s << Http::HeaderTable[id].name << '[' << static_cast<int>(id) << ']';
+ else
+ s << "Invalid-Header[" << static_cast<int>(id) << ']';
+ return s;
+}
#define SQUID_HTTP_REGISTEREDHEADERS_H
#include "base/LookupTable.h"
+#include <iosfwd>
namespace Http
{
}; /* namespace Http */
+/* ostream output for Http::HdrType */
+std::ostream &
+operator<< (std::ostream&, Http::HdrType);
+
#endif /* SQUID_HTTP_REGISTEREDHEADERS_H */