summaryrefslogtreecommitdiffstats
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
commit5d4d2785b08ebc101f0eb519b9a0480a9c6f4b08 (patch)
tree15f9648cba61edda780139b44de9745a3fa812fa /mandoc_headers.3
parentb705aa5d322006a519c498654b59f3b1ba185233 (diff)
downloadmandoc-5d4d2785b08ebc101f0eb519b9a0480a9c6f4b08.tar.gz
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 cd264963..b69582d4 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 ,