=================================================================== RCS file: /cvs/mandoc/mandoc_headers.3,v retrieving revision 1.11 retrieving revision 1.17 diff -u -p -r1.11 -r1.17 --- mandoc/mandoc_headers.3 2017/04/29 12:45:41 1.11 +++ mandoc/mandoc_headers.3 2017/07/08 14:51:04 1.17 @@ -1,4 +1,4 @@ -.Dd December 1, 2014 +.Dd $Mdocdate: July 8 2017 $ .Dt MANDOC_HEADERS 3 .Os .Sh NAME @@ -87,6 +87,7 @@ Provides .Vt enum mandoc_esc , .Vt enum mandocerr , .Vt enum mandoclevel , +.Vt enum mandoc_os , .Vt enum tbl_cellt , .Vt enum tbl_datt , .Vt enum tbl_spant , @@ -100,7 +101,6 @@ Provides .Vt struct tbl_dat , .Vt struct tbl_span , .Vt struct eqn_box , -.Vt struct eqn , the function prototype typedef .Fn mandocmsg , the function @@ -122,11 +122,24 @@ Uses the type from .Pa roff.h as an opaque type for function prototypes. +.It Qq Pa mandoc_xr.h +Provides +.Vt struct mandoc_xr +and the functions +.Fn mandoc_xr_reset , +.Fn mandoc_xr_add , +.Fn mandoc_xr_get , +and +.Fn mandoc_xr_free . .It Qq Pa roff.h Requires .Qq Pa mandoc_ohash.h for -.Vt struct ohash . +.Vt struct ohash +and +.Qq Pa mandoc.h +for +.Vt enum mandoc_os . .Pp Provides .Vt enum mdoc_endbody , @@ -144,8 +157,9 @@ and the functions .Fn deroff , .Fn roffhash_alloc , .Fn roffhash_find , +.Fn roffhash_free , and -.Fn roffhash_free . +.Fn roff_validate . .Pp Uses pointers to the types .Vt struct mdoc_arg @@ -252,8 +266,6 @@ from for function prototypes. Uses the types .Vt struct tbl_span -and -.Vt struct eqn from .Pa mandoc.h and @@ -277,8 +289,6 @@ because the latter two are needed by .Qq Pa roff.c . .Pp Uses the types -.Vt struct eqn -and .Vt struct tbl_span from .Pa mandoc.h , @@ -363,7 +373,7 @@ for for .Vt struct tbl_* and -.Vt struct eqn , +.Vt struct eqn_box , and .Qq Pa libmandoc.h for @@ -437,6 +447,7 @@ Provides .Vt enum termtype , .Vt struct termp_tbl , .Vt struct termp , +.Fn roff_term_pre , and many terminal formatting functions. .Pp Uses the opaque type @@ -446,11 +457,13 @@ from Uses .Vt struct tbl_span and -.Vt struct eqn +.Vt struct eqn_box from .Pa mandoc.h and .Vt struct roff_meta +and +.Vt struct roff_node from .Pa roff.h as opaque types for function prototypes. @@ -479,8 +492,21 @@ Provides .Vt struct tagq , .Vt struct htmlpair , .Vt struct html , +.Fn roff_html_pre , and many HTML formatting functions. .Pp +Uses +.Vt struct tbl_span +and +.Vt struct eqn_box +from +.Pa mandoc.h +and +.Vt struct roff_node +from +.Pa roff.h +as opaque types for function prototypes. +.Pp When this header is included, the same file should not include .Pa term.h or @@ -518,8 +544,9 @@ Provides and the functions .Fn manconf_parse , .Fn manconf_output , +.Fn manconf_free , and -.Fn manconf_free . +.Fn manpath_base . .It Qq Pa mansearch.h Requires .In sys/types.h