aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-04 22:16:09 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-04 22:16:09 +0000
commitd4309408b94eb36fcea040582e8579967cb7878b (patch)
tree44fea1faa208f7aa8d912a43b25ee25ae1c50375 /html.h
parent6cff4f9d35431af8274477e9e1cd8dbb193f159a (diff)
downloadmandoc-d4309408b94eb36fcea040582e8579967cb7878b.tar.gz
mandoc-d4309408b94eb36fcea040582e8579967cb7878b.tar.zst
mandoc-d4309408b94eb36fcea040582e8579967cb7878b.zip
Start roff formatter modules for HTML and termininal output,
used by both the mdoc and man formatters, with the ultimate goal of reducing code duplication between the two macro formatters. Made possible by the parser unification. Add the first formatting function (for the .br request).
Diffstat (limited to 'html.h')
-rw-r--r--html.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/html.h b/html.h
index 02d5c57d..7cb6f609 100644
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.84 2017/03/15 11:29:53 schwarze Exp $ */
+/* $Id: html.h,v 1.85 2017/05/04 22:16:09 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -116,6 +116,8 @@ struct roff_node;
struct tbl_span;
struct eqn;
+void roff_html_pre(struct html *, const struct roff_node *);
+
void print_gen_decls(struct html *);
void print_gen_head(struct html *);
struct tag *print_otag(struct html *, enum htmltag, const char *, ...);