version 1.50, 2010/10/10 09:47:05 |
version 1.52, 2011/01/01 12:18:37 |
|
|
.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 int |
|
.Fo mdoc_addspan |
|
.Fa "struct mdoc *mdoc" |
|
.Fa "const struct tbl_span *span" |
|
.Fc |
.Ft "struct mdoc *" |
.Ft "struct mdoc *" |
.Fo mdoc_alloc |
.Fo mdoc_alloc |
.Fa "struct regset *regs" |
.Fa "struct regset *regs" |
|
|
.El |
.El |
.Ss Functions |
.Ss Functions |
.Bl -ohang |
.Bl -ohang |
|
.It Fn mdoc_addspan |
|
Add a table span to the parsing stream. |
|
Returns 0 on failure, 1 on success. |
.It Fn mdoc_alloc |
.It Fn mdoc_alloc |
Allocates a parsing structure. |
Allocates a parsing structure. |
The |
The |
Line 330 mdoc_free(mdoc); |
|
Line 338 mdoc_free(mdoc); |
|
.Pp |
.Pp |
To compile this, execute |
To compile this, execute |
.Pp |
.Pp |
.D1 % cc main.c libmdoc.a libmandoc.a |
.Dl % cc main.c libmdoc.a libmandoc.a |
.Pp |
.Pp |
where |
where |
.Pa main.c |
.Pa main.c |