version 1.3, 2015/03/27 17:37:25 |
version 1.4, 2015/04/02 21:36:50 |
Line 54 require inclusion of the header where that type is def |
|
Line 54 require inclusion of the header where that type is def |
|
Each of the following headers can be included without including |
Each of the following headers can be included without including |
any other mandoc header. |
any other mandoc header. |
These headers should be included before any other mandoc headers. |
These headers should be included before any other mandoc headers. |
Afterwards, any other mandoc headers can be included as needed. |
|
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Qq Pa mandoc_aux.h |
.It Qq Pa mandoc_aux.h |
Requires |
Requires |
|
|
from |
from |
.Pa libman.h |
.Pa libman.h |
as opaque types for function prototypes. |
as opaque types for function prototypes. |
|
.It Qq Pa roff.h |
|
Provides |
|
.Vt enum roff_type . |
|
.El |
|
.Pp |
|
The following two require |
|
.Qq Pa roff.h |
|
but no other mandoc headers. |
|
Afterwards, any other mandoc headers can be included as needed. |
|
.Bl -tag -width Ds |
.It Qq Pa mdoc.h |
.It Qq Pa mdoc.h |
Requires |
Requires |
.In sys/types.h |
.In sys/types.h |
for |
for |
.Vt size_t . |
.Vt size_t |
|
and |
|
.Qq Pa roff.h |
|
for |
|
.Vt enum roff_type . |
.Pp |
.Pp |
Provides |
Provides |
.Vt enum mdoct , |
.Vt enum mdoct , |
.Vt enum mdocargt , |
.Vt enum mdocargt , |
.Vt enum mdoc_type , |
|
.Vt enum mdoc_sec , |
.Vt enum mdoc_sec , |
.Vt enum mdoc_endbody , |
.Vt enum mdoc_endbody , |
.Vt enum mdoc_disp , |
.Vt enum mdoc_disp , |
Line 163 When this header is included, the same file should not |
|
Line 175 When this header is included, the same file should not |
|
or |
or |
.Pa libroff.h . |
.Pa libroff.h . |
.It Qq Pa man.h |
.It Qq Pa man.h |
|
Requires |
|
.Qq Pa roff.h |
|
for |
|
.Vt enum roff_type . |
|
.Pp |
Provides |
Provides |
.Vt enum mant , |
.Vt enum mant , |
.Vt enum man_type , |
|
.Vt struct man_meta , |
.Vt struct man_meta , |
.Vt struct man_node , |
.Vt struct man_node , |
and the functions |
and the functions |