summaryrefslogtreecommitdiffstatshomepage
path: root/private.h
diff options
context:
space:
mode:
Diffstat (limited to 'private.h')
-rw-r--r--private.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/private.h b/private.h
index 845e606a..b430c161 100644
--- a/private.h
+++ b/private.h
@@ -1,4 +1,4 @@
-/* $Id: private.h,v 1.11 2008/11/27 14:02:41 kristaps Exp $ */
+/* $Id: private.h,v 1.12 2008/11/27 16:54:58 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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 **);