summaryrefslogtreecommitdiffstats
path: root/mandoc_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'mandoc_parse.h')
-rw-r--r--mandoc_parse.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mandoc_parse.h b/mandoc_parse.h
index ee9bfd0b..ce55ce16 100644
--- a/mandoc_parse.h
+++ b/mandoc_parse.h
@@ -28,10 +28,11 @@
#define MPARSE_QUICK (1 << 3) /* abort the parse early */
#define MPARSE_UTF8 (1 << 4) /* accept UTF-8 input */
#define MPARSE_LATIN1 (1 << 5) /* accept ISO-LATIN-1 input */
+#define MPARSE_VALIDATE (1 << 6) /* call validation functions */
+struct roff_meta;
struct mparse;
-struct roff_man;
struct mparse *mparse_alloc(int, enum mandoc_os, const char *);
void mparse_copy(const struct mparse *);
@@ -39,5 +40,4 @@ void mparse_free(struct mparse *);
int mparse_open(struct mparse *, const char *);
void mparse_readfd(struct mparse *, int, const char *);
void mparse_reset(struct mparse *);
-void mparse_result(struct mparse *,
- struct roff_man **, char **);
+struct roff_meta *mparse_result(struct mparse *);