=================================================================== RCS file: /cvs/mandoc/Attic/private.h,v retrieving revision 1.18 retrieving revision 1.22 diff -u -p -r1.18 -r1.22 --- mandoc/Attic/private.h 2008/11/30 18:50:44 1.18 +++ mandoc/Attic/private.h 2008/12/02 13:20:24 1.22 @@ -1,4 +1,4 @@ -/* $Id: private.h,v 1.18 2008/11/30 18:50:44 kristaps Exp $ */ +/* $Id: private.h,v 1.22 2008/12/02 13:20:24 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -139,7 +139,11 @@ struct md_mbuf { #define ROFF_Oc 99 #define ROFF_Bk 100 #define ROFF_Ek 101 -#define ROFF_MAX 102 +#define ROFF_Bt 102 +#define ROFF_Hf 103 +#define ROFF_Fr 104 +#define ROFF_Ud 105 +#define ROFF_MAX 106 #define ROFF_Split 0 #define ROFF_Nosplit 1 @@ -218,7 +222,7 @@ struct roffcb { int (*roffout)(void *, int); int (*roffblkin)(void *, int, int *, char **); int (*roffblkout)(void *, int); - int (*roffspecial)(void *, int); + int (*roffspecial)(void *, int, int *, char **, char **); }; __BEGIN_DECLS @@ -233,10 +237,10 @@ void *md_init_html4_strict(const struct md_args *, int md_line_html4_strict(void *, char *); int md_exit_html4_strict(void *, int); -void *md_init_valid(const struct md_args *, +void *md_init_xml(const struct md_args *, struct md_mbuf *, const struct md_rbuf *); -int md_line_valid(void *, char *); -int md_exit_valid(void *, int); +int md_line_xml(void *, char *); +int md_exit_xml(void *, int); int md_buf_puts(struct md_mbuf *, const char *, size_t); int md_buf_putchar(struct md_mbuf *, char);