=================================================================== RCS file: /cvs/mandoc/mandoc_headers.3,v retrieving revision 1.26 retrieving revision 1.29 diff -u -p -r1.26 -r1.29 --- mandoc/mandoc_headers.3 2018/12/13 11:55:46 1.26 +++ mandoc/mandoc_headers.3 2018/12/16 00:17:02 1.29 @@ -1,4 +1,4 @@ -.Dd $Mdocdate: December 13 2018 $ +.Dd $Mdocdate: December 16 2018 $ .Dt MANDOC_HEADERS 3 .Os .Sh NAME @@ -90,18 +90,23 @@ can be used everywhere. Requires .In sys/types.h for -.Vt size_t . +.Vt size_t +and +.In stdio.h +for +.Vt FILE . .Pp Provides .Vt enum mandoc_esc , .Vt enum mandocerr , .Vt enum mandoclevel , -the function prototype typedef -.Fn mandocmsg , the function .Xr mandoc_escape 3 , -and the functions described in -.Xr mchars_alloc 3 . +the functions described in +.Xr mchars_alloc 3 , +and the +.Fn mandoc_msg* +functions. .It Qq Pa roff.h Common data types for all syntax trees and related functions; can be used everywhere. @@ -187,7 +192,7 @@ and for .Vt enum mandoc_os . .Pp -Uses to opaque type +Uses the opaque type .Vt struct mparse from .Pa read.c @@ -255,11 +260,6 @@ Provides the functions described in .Xr mandoc 3 . .Pp -Uses the opaque type -.Vt struct mparse -from -.Pa read.c -for function prototypes. Uses the type .Vt struct roff_man from @@ -291,11 +291,7 @@ Provides utility functions needed by multiple parsers, and the top-level functions to call the parsers. .Pp -Uses the opaque types -.Vt struct mparse -from -.Pa read.c -and +Uses the opaque type .Vt struct roff from .Pa roff.c @@ -419,11 +415,6 @@ and the functions and .Fn eqn_reset . .Pp -Uses the opaque type -.Vt struct mparse -from -.Pa read.c -for function prototypes. Uses the type .Vt struct eqn_box from @@ -453,10 +444,6 @@ parsers only. Provides the functions documented in .Xr tbl 3 . .Pp -Uses the opaque type -.Vt struct mparse -from -.Pa read.c . Uses the types .Vt struct tbl_span from @@ -492,12 +479,6 @@ and the functions and .Fn tbl_reset . .Pp -Uses a pointer to the opaque type -.Vt struct mparse -from -.Pa read.c -as an opaque struct member. -.Pp When this header is included, the same file should not include interfaces of different parsers. .El @@ -575,7 +556,10 @@ or Requires .In sys/types.h for -.Vt size_t +.Vt size_t , +.Pa mandoc.h +for +.Vt enum mandoc_esc , and .Qq Pa out.h for