aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc_headers.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-13 05:23:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-13 05:23:37 +0000
commit32c0933851c645dfc5d1af1bda32e80c9f237254 (patch)
treefab2cd59317b0b0eabad302f92f03d5eadc60c25 /mandoc_headers.3
parent41c83570cd0b176c663b583e5990f9869f214754 (diff)
downloadmandoc-32c0933851c645dfc5d1af1bda32e80c9f237254.tar.gz
mandoc-32c0933851c645dfc5d1af1bda32e80c9f237254.tar.zst
mandoc-32c0933851c645dfc5d1af1bda32e80c9f237254.zip
Cleanup, no functional change:
No need to expose the eqn(7) syntax tree data structures everywhere. Move them to their own include file, "eqn.h". While here, delete the unused enum eqn_pilet.
Diffstat (limited to 'mandoc_headers.3')
-rw-r--r--mandoc_headers.322
1 files changed, 17 insertions, 5 deletions
diff --git a/mandoc_headers.3 b/mandoc_headers.3
index 199f6dfc..0adbf5a2 100644
--- a/mandoc_headers.3
+++ b/mandoc_headers.3
@@ -97,11 +97,6 @@ Provides
.Vt enum mandocerr ,
.Vt enum mandoclevel ,
.Vt enum mandoc_os ,
-.Vt enum eqn_boxt ,
-.Vt enum eqn_fontt ,
-.Vt enum eqn_pilet ,
-.Vt enum eqn_post ,
-.Vt struct eqn_box ,
the function prototype typedef
.Fn mandocmsg ,
the function
@@ -143,6 +138,22 @@ Provides
.Vt struct tbl_dat ,
and
.Vt struct tbl_span .
+.It Qq Pa eqn.h
+Data structures for the
+.Xr eqn 7
+parse tree; can be used everywhere.
+.Pp
+Requires
+.In sys/types.h
+for
+.Vt size_t .
+.Pp
+Provides
+.Vt enum eqn_boxt ,
+.Vt enum eqn_fontt ,
+.Vt enum eqn_post ,
+and
+.Vt struct eqn_box .
.It Qq Pa mandoc_xr.h
Cross reference validation; intended for use in the main program
and in parsers, but not in formatters.
@@ -388,6 +399,7 @@ Provides
.Vt struct eqn_node
and the functions
.Fn eqn_alloc ,
+.Fn eqn_box_new ,
.Fn eqn_box_free ,
.Fn eqn_free ,
.Fn eqn_parse ,