From 5d4d2785b08ebc101f0eb519b9a0480a9c6f4b08 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 13 Dec 2018 05:23:37 +0000 Subject: 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. --- mandoc_headers.3 | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) (limited to 'mandoc_headers.3') 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 , -- cgit