summaryrefslogtreecommitdiffstats
path: root/mmain.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-15 07:08:52 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-15 07:08:52 +0000
commit885216263c7b90bf8b3fe9284d6f22d75a7ad7b4 (patch)
tree6a0f1485e03b97dd0e4b7357cf346656f85ede72 /mmain.h
parentc4b5d8a0192a406d9f04a23e2c8a768a29e01371 (diff)
downloadmandoc-885216263c7b90bf8b3fe9284d6f22d75a7ad7b4.tar.gz
mdoclint accepts multiple files
mdocterm punts to nroff if it fails parsing
Diffstat (limited to 'mmain.h')
-rw-r--r--mmain.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/mmain.h b/mmain.h
index c6d9c717..df631737 100644
--- a/mmain.h
+++ b/mmain.h
@@ -47,10 +47,14 @@ struct mmain;
struct mmain *mmain_alloc(void);
dead_pre void mmain_exit(struct mmain *, int) dead_post;
int mmain_getopt(struct mmain *, int, char *[],
- const char *, const char *, void *,
- int (*)(void *, int, const char *));
-struct mdoc *mmain_mdoc(struct mmain *);
-void mmain_usage(const char *);
+ const char *, const char *,
+ const char *, void *,
+ int (*)(void *, int, char *));
+struct mdoc *mmain_mdoc(struct mmain *, const char *);
+void mmain_reset(struct mmain *);
+void mmain_free(struct mmain *);
+void mmain_prepare(struct mmain *, const char *);
+struct mdoc *mmain_process(struct mmain *);
__END_DECLS