summaryrefslogtreecommitdiffstats
path: root/private.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-11-27 16:54:58 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-11-27 16:54:58 +0000
commit757654bf3db3f335e31ed99eff0744a5b6d0c5d1 (patch)
treed8b27757ac79941de0a81c2532582da0a5456f07 /private.h
parent249f2463dcbfa8d488b51bd70a458dbe79d25724 (diff)
downloadmandoc-757654bf3db3f335e31ed99eff0744a5b6d0c5d1.tar.gz
Considerable fixes.
Diffstat (limited to 'private.h')
-rw-r--r--private.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/private.h b/private.h
index e998482e..93136610 100644
--- a/private.h
+++ b/private.h
@@ -199,16 +199,19 @@ struct md_mbuf {
#define ROFF_susv2 55
#define ROFF_susv3 56
#define ROFF_svid4 57
-#define ROFF_ARGMAX 58
+#define ROFF_Filled 58
+#define ROFF_Words 59
+#define ROFF_ARGMAX 60
extern const char *const *toknames;
extern const char *const *tokargnames;
-/* FIXME: have a md_roff with all necessary parameters. */
-
-/* FIXME: have roffbegin and roffend for doc head/foot. */
+enum roffmsg { ROFF_WARN, ROFF_ERROR };
struct roffcb {
+ void (*roffmsg)(const struct md_args *, enum roffmsg,
+ const char *, const char *, const char *,
+ int, char *);
int (*roffhead)(void);
int (*rofftail)(void);
int (*roffin)(int, int *, char **);