version 1.41, 2010/05/30 22:56:02 |
version 1.43, 2010/06/27 15:52:41 |
|
|
.Nd mdoc macro compiler library |
.Nd mdoc macro compiler library |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.In mandoc.h |
.In mandoc.h |
|
.In regs.h |
.In mdoc.h |
.In mdoc.h |
.Vt extern const char * const * mdoc_macronames; |
.Vt extern const char * const * mdoc_macronames; |
.Vt extern const char * const * mdoc_argnames; |
.Vt extern const char * const * mdoc_argnames; |
.Ft "struct mdoc *" |
.Ft "struct mdoc *" |
.Fn mdoc_alloc "void *data" "int pflags" "mandocmsg msgs" |
.Fo mdoc_alloc |
|
.Fa "const struct regset *regs" |
|
.Fa "void *data" |
|
.Fa "int pflags" |
|
.Fa "mandocmsg msgs" |
|
.Fc |
.Ft int |
.Ft int |
.Fn mdoc_endparse "struct mdoc *mdoc" |
.Fn mdoc_endparse "struct mdoc *mdoc" |
.Ft void |
.Ft void |
|
|
.Ft "const struct mdoc_node *" |
.Ft "const struct mdoc_node *" |
.Fn mdoc_node "const struct mdoc *mdoc" |
.Fn mdoc_node "const struct mdoc *mdoc" |
.Ft int |
.Ft int |
.Fn mdoc_parseln "struct mdoc *mdoc" "int line" "char *buf" |
.Fo mdoc_parseln |
|
.Fa "struct mdoc *mdoc" |
|
.Fa "int line" |
|
.Fa "char *buf" |
|
.Fc |
.Ft int |
.Ft int |
.Fn mdoc_reset "struct mdoc *mdoc" |
.Fn mdoc_reset "struct mdoc *mdoc" |
.Sh DESCRIPTION |
.Sh DESCRIPTION |