summaryrefslogtreecommitdiffstats
path: root/private.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-11-29 14:14:21 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-11-29 14:14:21 +0000
commit984026174354a406cd626774192234c2d00ccbbb (patch)
tree1805564f4bd8e7ef5a5a2cf386fc343edd55ed89 /private.h
parentafac8c1eebed17d57ca78b1d322b71cc1f48af97 (diff)
downloadmandoc-984026174354a406cd626774192234c2d00ccbbb.tar.gz
Inclusion of "real" validation code.
Diffstat (limited to 'private.h')
-rw-r--r--private.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/private.h b/private.h
index 173f9273..60fcc5aa 100644
--- a/private.h
+++ b/private.h
@@ -214,7 +214,7 @@ struct roffcb {
int (*roffhead)(void *);
int (*rofftail)(void *);
int (*roffin)(void *, int, int *, char **);
- int (*roffdata)(void *, const char *);
+ int (*roffdata)(void *, char *);
int (*roffout)(void *, int);
int (*roffblkin)(void *, int);
int (*roffblkout)(void *, int);
@@ -225,17 +225,17 @@ __BEGIN_DECLS
typedef void (*(*md_init)(const struct md_args *,
struct md_mbuf *, const struct md_rbuf *));
-typedef int (*md_line)(void *, char *, size_t);
+typedef int (*md_line)(void *, char *);
typedef int (*md_exit)(void *, int);
void *md_init_html4_strict(const struct md_args *,
struct md_mbuf *, const struct md_rbuf *);
-int md_line_html4_strict(void *, char *, size_t);
+int md_line_html4_strict(void *, char *);
int md_exit_html4_strict(void *, int);
void *md_init_valid(const struct md_args *,
struct md_mbuf *, const struct md_rbuf *);
-int md_line_valid(void *, char *, size_t);
+int md_line_valid(void *, char *);
int md_exit_valid(void *, int);
int md_buf_puts(struct md_mbuf *, const char *, size_t);
@@ -245,7 +245,7 @@ int md_buf_putstring(struct md_mbuf *, const char *);
struct rofftree;
struct rofftree *roff_alloc(const struct roffcb *, void *);
-int roff_engine(struct rofftree *, char *, size_t);
+int roff_engine(struct rofftree *, char *);
int roff_free(struct rofftree *, int);
__END_DECLS