http_client: disables HTTP redirect by default
[metaproxy-moved-to-github.git] / src / html_parser.hpp
index f754699..3e10daf 100644 (file)
@@ -29,7 +29,8 @@ namespace metaproxy_1 {
                                    int close_it) = 0;
             virtual void attribute(const char *tag, int tag_len,
                                    const char *attr, int attr_len,
-                                   const char *value, int val_len) = 0;
+                                   const char *value, int val_len,
+                                   const char *sep) = 0;
             virtual void closeTag(const char *tag, int tag_len) = 0;
             virtual void text(const char *value, int len) = 0;
         };
@@ -39,6 +40,7 @@ namespace metaproxy_1 {
             HTMLParser();
             ~HTMLParser();
             void parse(HTMLParserEvent &event, const char *str) const;
+            void set_verbose(int v);
         private:
             boost::scoped_ptr<Rep> m_p;
         };