diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-22 09:48:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-22 09:48:13 +0000 |
commit | dfaf1a2588304baa4512616714d78b2fb5355b3b (patch) | |
tree | 49f095a628dd1f679f66bd441d09ec33ca8dbfb2 /mdoc.h | |
parent | ac3643411d8c7b99be73c692f194ada5c63ff3fa (diff) | |
download | mandoc-dfaf1a2588304baa4512616714d78b2fb5355b3b.tar.gz |
Step 1 of restructuring: libmandoc.h. Move all compiler-set-specific
stuff into libmandoc.h, including old mdoc.h/man.h/roff.h functions now
used by read.c. The motivation behind this is to tighten the
relationship between the underlying compilers while keeping parse data
hidden from general callers (e.g., main.c).
While here, also move register values from mandoc.h into libmandoc.h as
noted by schwarze@. See above for explanation.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -423,17 +423,8 @@ __BEGIN_DECLS struct mdoc; -void mdoc_free(struct mdoc *); -struct mdoc *mdoc_alloc(struct regset *, struct mparse *); -void mdoc_reset(struct mdoc *); -int mdoc_parseln(struct mdoc *, int, char *, int); const struct mdoc_node *mdoc_node(const struct mdoc *); const struct mdoc_meta *mdoc_meta(const struct mdoc *); -int mdoc_endparse(struct mdoc *); -int mdoc_addspan(struct mdoc *, - const struct tbl_span *); -int mdoc_addeqn(struct mdoc *, - const struct eqn *); __END_DECLS |