summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-03-15 11:29:50 +0000
committerschwarze <schwarze@openbsd.org>2017-03-15 11:29:50 +0000
commit6ef173c4fd6cf3afea3b1350ebffc5f08324070b (patch)
tree8d52bb40f8f0ba1ff6cb0b07b8ad4648a4392a48 /usr.bin/mandoc/html.h
parentWe do not need while loop around uiomove(9) in lcdwrite(). (diff)
downloadwireguard-openbsd-6ef173c4fd6cf3afea3b1350ebffc5f08324070b.tar.xz
wireguard-openbsd-6ef173c4fd6cf3afea3b1350ebffc5f08324070b.zip
Minimal support for deep linking into man(7) pages.
As the man(7) language does not provide semantic markup, only .SH, .SS, and .UR become anchors for now.
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 c2c572fa9a2..b4446f0d665 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.h,v 1.45 2017/02/05 20:21:17 schwarze Exp $ */
+/* $OpenBSD: html.h,v 1.46 2017/03/15 11:29:50 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -112,6 +112,7 @@ struct html {
};
+struct roff_node;
struct tbl_span;
struct eqn;
@@ -127,4 +128,5 @@ void print_eqn(struct html *, const struct eqn *);
void print_paragraph(struct html *);
void print_endline(struct html *);
+char *html_make_id(const struct roff_node *);
int html_strlen(const char *);