summaryrefslogtreecommitdiffstatshomepage
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
commit344abfe1dd84dad326b359cadfbb4094a60e74d7 (patch)
tree792423cf38d6cecebbd7655abed67aacc4958090 /private.h
parent24ab2f2f835520af37cfd66dd0ff850d758a3d71 (diff)
downloadmandoc-344abfe1dd84dad326b359cadfbb4094a60e74d7.tar.gz
mandoc-344abfe1dd84dad326b359cadfbb4094a60e74d7.tar.zst
mandoc-344abfe1dd84dad326b359cadfbb4094a60e74d7.zip
Inclusion of "real" validation code.
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 eb32c8fd..e843eb71 100644
--- a/private.h
+++ b/private.h
@@ -1,4 +1,4 @@
-/* $Id: private.h,v 1.15 2008/11/28 15:25:49 kristaps Exp $ */
+/* $Id: private.h,v 1.16 2008/11/29 14:14:21 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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