summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-05-04 22:07:44 +0000
committerschwarze <schwarze@openbsd.org>2017-05-04 22:07:44 +0000
commit96a5de472ceddce830e148f3c839441f7b9343b2 (patch)
treefcc212399dcdae50546a59c41f02be08c9f1a3c5 /usr.bin/mandoc/html.h
parentenable brgphy, which appears in the edgerouter pro (diff)
downloadwireguard-openbsd-96a5de472ceddce830e148f3c839441f7b9343b2.tar.xz
wireguard-openbsd-96a5de472ceddce830e148f3c839441f7b9343b2.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 'usr.bin/mandoc/html.h')
-rw-r--r--usr.bin/mandoc/html.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h
index b4446f0d665..b4a4c35cb82 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.h,v 1.46 2017/03/15 11:29:50 schwarze Exp $ */
+/* $OpenBSD: html.h,v 1.47 2017/05/04 22:07:44 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 *, ...);