From 757654bf3db3f335e31ed99eff0744a5b6d0c5d1 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 27 Nov 2008 16:54:58 +0000 Subject: Considerable fixes. --- private.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'private.h') 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 **); -- cgit