diff options
Diffstat (limited to 'tbl.3')
-rw-r--r-- | tbl.3 | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -1,6 +1,6 @@ -.\" $Id: tbl.3,v 1.4 2018/12/12 21:54:35 schwarze Exp $ +.\" $Id: tbl.3,v 1.5 2018/12/13 02:06:07 schwarze Exp $ .\" -.\" Copyright (c) 2013 Ingo Schwarze <schwarze@openbsd.org> +.\" Copyright (c) 2013, 2015, 2018 Ingo Schwarze <schwarze@openbsd.org> .\" .\" Permission to use, copy, modify, and distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 12 2018 $ +.Dd $Mdocdate: December 13 2018 $ .Dt TBL 3 .Os .Sh NAME @@ -26,10 +26,9 @@ .Nm tbl_free .Nd roff table parser library for mandoc .Sh SYNOPSIS -.In mandoc.h +.In sys/types.h .In tbl.h -.In libmandoc.h -.In libroff.h +.In tbl_parse.h .Ft struct tbl_node * .Fo tbl_alloc .Fa "int pos" @@ -68,15 +67,15 @@ utility and not designed for stand-alone use. The present manual is intended as a reference for developers working on .Xr mandoc 1 . .Ss Data structures -Unless otherwise noted, all of the following data structures are defined in -.In mandoc.h +Unless otherwise noted, all of the following data structures are declared in +.In tbl.h and are deleted in .Fn tbl_free . .Bl -tag -width Ds .It Vt struct tbl_node This structure describes a complete table. -It is defined in -.In libroff.h , +It is declared in +.In tbl_int.h , created in .Fn tbl_alloc , and stored in the members @@ -227,7 +226,7 @@ member is not .Ss Interface functions The following functions are implemented in .Pa tbl.c , -and all callers in +and all callers are in .Pa roff.c . .Bl -tag -width Ds .It Fn tbl_alloc @@ -280,6 +279,8 @@ and .Fn roff_reset . .El .Ss Private functions +The following functions are declared in +.In tbl_int.h . .Bl -tag -width Ds .It Ft int Fn tbl_options "struct tbl_node *tbl" "int ln" "const char *p" Parses the options line into |