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 | 14b264ac5a6226fdf3065c90d26a2595186fa976 (patch) | |
tree | 5e94556f1f4f5dbdd726597b5e6c08f1167012b6 /mdoc.h | |
parent | 4d0e00fc396f69ea4575cca04855817cbf289670 (diff) | |
download | mandoc-14b264ac5a6226fdf3065c90d26a2595186fa976.tar.gz mandoc-14b264ac5a6226fdf3065c90d26a2595186fa976.tar.zst mandoc-14b264ac5a6226fdf3065c90d26a2595186fa976.zip |
More correct validation.
Elision of prologue macros from main tree.
Diffstat (limited to 'mdoc.h')
-rw-r--r-- | mdoc.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.h,v 1.26 2009/01/19 17:02:58 kristaps Exp $ */ +/* $Id: mdoc.h,v 1.27 2009/01/19 17:51:33 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se> * @@ -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 *); |