summaryrefslogtreecommitdiffstats
path: root/mdoc.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc.h')
-rw-r--r--mdoc.h7
1 files changed, 5 insertions, 2 deletions
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 *);