From 2e32d8081f19a0adc0f1c4091cc0e6720b1a24fe Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 19 Jan 2009 17:51:32 +0000 Subject: More correct validation. Elision of prologue macros from main tree. --- mdoc.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mdoc.h') diff --git a/mdoc.h b/mdoc.h index dd6b1509..ef2b5d3a 100644 --- a/mdoc.h +++ b/mdoc.h @@ -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 *); -- cgit