-/* $Id: private.h,v 1.28 2008/12/04 16:34:59 kristaps Exp $ */
+/* $Id: private.h,v 1.30 2008/12/04 23:10:51 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
#define ROFFTok_Bar 25
#define ROFFTok_Nan 26
#define ROFFTok_Quote 27
-#define ROFFTok_MAX 28
+#define ROFFTok_Sp_0 28
+#define ROFFTok_Slash 29
+#define ROFFTok_MAX 30
#define ROFF___ 0
#define ROFF_Dd 1
const char *, const char *, const char *);
int (*rofftail)(void *);
int (*roffdata)(void *, int, const char *, char *);
- int (*rofftoken)(void *, int, int);
int (*roffin)(void *, int, int *, char **);
int (*roffout)(void *, int);
int (*roffblkin)(void *, int, int *, char **);
int (*roffblkheadout)(void *, int);
int (*roffblkbodyin)(void *, int, int *, char **);
int (*roffblkbodyout)(void *, int);
- int (*roffspecial)(void *, int, int *, char **, char **);
+ int (*roffspecial)(void *, int, const char *, char **);
};
struct rofftree;
int roff_engine(struct rofftree *, char *);
int roff_free(struct rofftree *, int);
-int rofftok_scan(const char *);
+int rofftok_scan(const char *, int *);
__END_DECLS