]> git.cameronkatri.com Git - mandoc.git/blobdiff - html.h
simplify a few accesses to fields of structs, using auxiliary pointer
[mandoc.git] / html.h
diff --git a/html.h b/html.h
index d9e6591214e49ce8435cdb9712a8cf511ddf1ace..3d201403342d9f7188074ad23e63a117bacd0681 100644 (file)
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.107 2020/03/13 15:32:28 schwarze Exp $ */
+/* $Id: html.h,v 1.109 2021/09/09 14:47:24 schwarze Exp $ */
 /*
  * Copyright (c) 2017, 2018, 2019, 2020 Ingo Schwarze <schwarze@openbsd.org>
  * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -51,6 +51,7 @@ enum  htmltag {
        TAG_SPAN,
        TAG_VAR,
        TAG_BR,
+       TAG_HR,
        TAG_MARK,
        TAG_MATH,
        TAG_MROW,
@@ -127,6 +128,8 @@ struct tag   *print_otag_id(struct html *, enum htmltag, const char *,
                        struct roff_node *);
 void             print_tagq(struct html *, const struct tag *);
 void             print_stagq(struct html *, const struct tag *);
+void             print_tagged_text(struct html *, const char *,
+                       struct roff_node *);
 void             print_text(struct html *, const char *);
 void             print_tblclose(struct html *);
 void             print_tbl(struct html *, const struct tbl_span *);