+ namespace util {
+
+ class SRU
+ {
+ public:
+ enum SRU_protocol_type { SRU_NONE, SRU_GET, SRU_POST, SRU_SOAP};
+ typedef const int SRU_query_type;
+ union SRW_query {char * cql; char * xcql; char * pqf;};
+ private:
+ //bool decode(const Z_HTTP_Request &http_req);
+ SRU_protocol_type protocol(const Z_HTTP_Request &http_req) const;
+ private:
+ SRU_protocol_type m_protocol;
+ std::string m_charset;
+ std::string m_stylesheet;
+ };