summaryrefslogtreecommitdiffstats
path: root/private.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-11-28 11:21:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-11-28 11:21:12 +0000
commitcc802a810a035a369db520aaa7cba82e0b3686a2 (patch)
tree0ba2827efb08e2d5cc8759b6c41cd05aab59ff52 /private.h
parent251cb31839ca20218450f57218e4d7935e6e0652 (diff)
downloadmandoc-cc802a810a035a369db520aaa7cba82e0b3686a2.tar.gz
Initial pushing to mbuf.
Diffstat (limited to 'private.h')
-rw-r--r--private.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/private.h b/private.h
index f77a6773..6a2101f9 100644
--- a/private.h
+++ b/private.h
@@ -212,13 +212,13 @@ 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 (*roffhead)(const struct md_args *);
+ int (*rofftail)(const struct md_args *);
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);
+ int (*roffspecial)(const struct md_args *, 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);