aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc_headers.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-12-13 07:30:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-12-13 07:30:21 +0000
commitef2d1ed7915b0e62315dcecce1bc447b55254b7c (patch)
tree7ff782dbcc2d004cd932bf11a20941654ab3e360 /mandoc_headers.3
parent48b62a55d6c75588b6450faa191c7f9166de0cbd (diff)
downloadmandoc-ef2d1ed7915b0e62315dcecce1bc447b55254b7c.tar.gz
mandoc-ef2d1ed7915b0e62315dcecce1bc447b55254b7c.tar.zst
mandoc-ef2d1ed7915b0e62315dcecce1bc447b55254b7c.zip
libmdoc.h no longer needs mdoc.h
Diffstat (limited to 'mandoc_headers.3')
-rw-r--r--mandoc_headers.322
1 files changed, 9 insertions, 13 deletions
diff --git a/mandoc_headers.3 b/mandoc_headers.3
index 4c8ce5c2..f4d15885 100644
--- a/mandoc_headers.3
+++ b/mandoc_headers.3
@@ -171,10 +171,6 @@ Common data types for all syntax trees and related functions;
can be used everywhere.
.Pp
Requires
-.Qq Pa mandoc_ohash.h
-for
-.Vt struct ohash
-and
.Qq Pa mandoc.h
for
.Vt enum mandoc_os .
@@ -197,6 +193,10 @@ and
.Fn roff_validate .
.Pp
Uses pointers to the types
+.Vt struct ohash
+from
+.Pa mandoc_ohash.h
+and
.Vt struct mdoc_arg
and
.Vt union mdoc_data
@@ -341,11 +341,7 @@ Requires
for
.Vt enum roff_tok
and
-.Qq Pa mdoc.h
-for
-.Vt enum mdoc_*
-and
-.Vt struct mdoc_* .
+.Vt enum roff_sec .
.Pp
Provides
.Vt enum margserr ,
@@ -355,16 +351,16 @@ and many functions internal to the
.Xr mdoc 7
parser.
.Pp
-Uses the opaque type
-.Vt struct mparse
-from
-.Pa read.c .
Uses the types
.Vt struct roff_man
and
.Vt struct roff_node
from
.Pa roff.h
+and
+.Vt struct mdoc_arg
+from
+.Pa mdoc.h
as opaque types for function prototypes.
.Pp
When this header is included, the same file should not include