]> sjero.net Git - wget/blobdiff - src/html-parse.h
[svn] Use hash table for tag lookup in html-url.c and html-parse.c.
[wget] / src / html-parse.h
index 31dbf38f6bad15d43298f44d61ca41f34301676c..af3f7b5812e3ae0035a2fcdb042195845583eb57 100644 (file)
@@ -53,13 +53,16 @@ struct taginfo {
   const char *end_position;    /* end position of tag */
 };
 
+struct hash_table;             /* forward declaration */
+
 /* Flags for map_html_tags: */
 #define MHT_STRICT_COMMENTS  1  /* use strict comment interpretation */
 #define MHT_TRIM_VALUES      2  /* trim attribute values, e.g. interpret
                                    <a href=" foo "> as "foo" */
 
 void map_html_tags PARAMS ((const char *, int,
-                           void (*) (struct taginfo *, void *), void *,
-                           int, const char **, const char **));
+                           void (*) (struct taginfo *, void *), void *, int,
+                           const struct hash_table *,
+                           const struct hash_table *));
 
 #endif /* HTML_PARSE_H */