summaryrefslogtreecommitdiffstatshomepage
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
commit150a3223f299b39b75bd39a9f1dea3ee0193bb63 (patch)
tree4613c9846fd01dad1a8d1e6e9648108926021d46 /private.h
parent32bc4a1e0a8ab255cd10e101dc9778b0c143f2f8 (diff)
downloadmandoc-150a3223f299b39b75bd39a9f1dea3ee0193bb63.tar.gz
mandoc-150a3223f299b39b75bd39a9f1dea3ee0193bb63.tar.zst
mandoc-150a3223f299b39b75bd39a9f1dea3ee0193bb63.zip
Initial pushing to mbuf.
Diffstat (limited to 'private.h')
-rw-r--r--private.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/private.h b/private.h
index 96b26b39..47691ba6 100644
--- a/private.h
+++ b/private.h
@@ -1,4 +1,4 @@
-/* $Id: private.h,v 1.13 2008/11/27 17:27:50 kristaps Exp $ */
+/* $Id: private.h,v 1.14 2008/11/28 11:21:12 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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);