diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-11-29 14:14:21 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-11-29 14:14:21 +0000 |
commit | 984026174354a406cd626774192234c2d00ccbbb (patch) | |
tree | 1805564f4bd8e7ef5a5a2cf386fc343edd55ed89 /private.h | |
parent | afac8c1eebed17d57ca78b1d322b71cc1f48af97 (diff) | |
download | mandoc-984026174354a406cd626774192234c2d00ccbbb.tar.gz |
Inclusion of "real" validation code.
Diffstat (limited to 'private.h')
-rw-r--r-- | private.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |