=================================================================== RCS file: /cvs/mandoc/Attic/private.h,v retrieving revision 1.13 retrieving revision 1.15 diff -u -p -r1.13 -r1.15 --- mandoc/Attic/private.h 2008/11/27 17:27:50 1.13 +++ mandoc/Attic/private.h 2008/11/28 15:25:49 1.15 @@ -1,4 +1,4 @@ -/* $Id: private.h,v 1.13 2008/11/27 17:27:50 kristaps Exp $ */ +/* $Id: private.h,v 1.15 2008/11/28 15:25:49 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -209,16 +209,16 @@ extern const char *const *tokargnames; 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)(const struct md_args *, int, int *, char **); - int (*roffout)(const struct md_args *, int); - int (*roffblkin)(const struct md_args *, int); - int (*roffblkout)(const struct md_args *, int); - int (*roffspecial)(int); + void (*roffmsg)(void *, enum roffmsg, + const char *, const char *, char *); + int (*roffhead)(void *); + int (*rofftail)(void *); + int (*roffin)(void *, int, int *, char **); + int (*roffdata)(void *, const char *); + int (*roffout)(void *, int); + int (*roffblkin)(void *, int); + int (*roffblkout)(void *, int); + int (*roffspecial)(void *, int); }; __BEGIN_DECLS @@ -233,10 +233,10 @@ void *md_init_html4_strict(const struct md_args *, int md_line_html4_strict(void *, char *, size_t); int md_exit_html4_strict(void *, int); -void *md_init_dummy(const struct md_args *, +void *md_init_valid(const struct md_args *, struct md_mbuf *, const struct md_rbuf *); -int md_line_dummy(void *, char *, size_t); -int md_exit_dummy(void *, int); +int md_line_valid(void *, char *, size_t); +int md_exit_valid(void *, int); int md_buf_puts(struct md_mbuf *, const char *, size_t); int md_buf_putchar(struct md_mbuf *, char); @@ -244,9 +244,7 @@ int md_buf_putstring(struct md_mbuf *, const char struct rofftree; -struct rofftree *roff_alloc(const struct md_args *, - struct md_mbuf *, const struct md_rbuf *, - const struct roffcb *); +struct rofftree *roff_alloc(const struct roffcb *, void *); int roff_engine(struct rofftree *, char *, size_t); int roff_free(struct rofftree *, int);