diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-02 23:48:19 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-04-02 23:48:19 +0000 |
commit | 7355c805552e6fc47e10d976711b6169f0f3c0e0 (patch) | |
tree | 8ad95f5fc9d0dbda235694991290ea83f7484abe /mandoc_headers.3 | |
parent | 9e6e3b6be0e9ffe29cf4876ce0b7ded2c3c386b9 (diff) | |
download | mandoc-7355c805552e6fc47e10d976711b6169f0f3c0e0.tar.gz |
Third step towards parser unification:
Replace struct mdoc_meta and struct man_meta by a unified struct roff_meta.
Written of the train from London to Exeter on the way to p2k15.
Diffstat (limited to 'mandoc_headers.3')
-rw-r--r-- | mandoc_headers.3 | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/mandoc_headers.3 b/mandoc_headers.3 index d3400876..85cf1894 100644 --- a/mandoc_headers.3 +++ b/mandoc_headers.3 @@ -121,6 +121,7 @@ Provides .Vt enum mdoc_endbody , .Vt enum roff_sec , .Vt enum roff_type , +.Vt struct roff_meta , and .Vt struct roff_node . .Pp @@ -154,7 +155,6 @@ Provides .Vt enum mdoc_list , .Vt enum mdoc_auth , .Vt enum mdoc_font , -.Vt struct mdoc_meta , .Vt struct mdoc_argv , .Vt struct mdoc_arg , .Vt struct mdoc_bd , @@ -188,9 +188,7 @@ Requires for .Vt enum roff_type . .Pp -Provides -.Vt struct man_meta -and the functions +Provides the functions .Fn man_* described in .Xr mandoc 3 . @@ -226,11 +224,16 @@ are included, the same file should not include any formatter headers. Requires .In sys/types.h for -.Vt size_t -and +.Vt size_t , .Qq Pa mandoc.h for -.Vt enum mandocerr . +.Vt enum mandocerr , +and +.Qq Pa roff.h +for +.Vt struct roff_meta +and +.Vt struct roff_node . .Pp Provides .Vt enum rofferr , @@ -297,7 +300,9 @@ or Requires .Qq Pa roff.h for -.Vt struct roff_node. +.Vt struct roff_meta +and +.Vt struct roff_node . .Pp Provides .Vt enum man_next , @@ -420,6 +425,10 @@ and .Vt struct eqn from .Pa mandoc.h +and +.Vt struct roff_meta +from +.Qq Pa roff.h as opaque types for function prototypes. .Pp When this header is included, the same file should not include |