diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-19 17:51:32 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-01-19 17:51:32 +0000 |
commit | 2e32d8081f19a0adc0f1c4091cc0e6720b1a24fe (patch) | |
tree | 308da3c4fc54485ffb916bd71b5a04b848513d70 /mdoc.h | |
parent | d427476d5c4b9bd0804fa51647671e6b18e07afa (diff) | |
download | mandoc-2e32d8081f19a0adc0f1c4091cc0e6720b1a24fe.tar.gz |
More correct validation.
Elision of prologue macros from main tree.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -416,8 +416,11 @@ struct mdoc *mdoc_alloc(void *data, const struct mdoc_cb *); /* Parse a single line (boolean retval). */ int mdoc_parseln(struct mdoc *, int, char *buf); -/* Get parse result or NULL. */ -const struct mdoc_node *mdoc_result(struct mdoc *); +/* Get result first node. */ +const struct mdoc_node *mdoc_node(struct mdoc *); + +/* Get result meta-information. */ +const struct mdoc_meta *mdoc_meta(struct mdoc *); /* Signal end of parse sequence (boolean retval). */ int mdoc_endparse(struct mdoc *); |