Use libyazpp6, libyaz5 and provide libmetaproxy5
[metaproxy-moved-to-github.git] / src / html_parser.hpp
index f754699..bba263c 100644 (file)
@@ -29,9 +29,11 @@ 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;
+            virtual ~ HTMLParserEvent();
         };
         class HTMLParser {
             class Rep;
@@ -39,6 +41,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;
         };