=================================================================== RCS file: /cvs/mandoc/Attic/ml.h,v retrieving revision 1.2 retrieving revision 1.5 diff -u -p -r1.2 -r1.5 --- mandoc/Attic/ml.h 2008/12/03 19:21:58 1.2 +++ mandoc/Attic/ml.h 2008/12/05 11:28:17 1.5 @@ -1,4 +1,4 @@ -/* $Id: ml.h,v 1.2 2008/12/03 19:21:58 kristaps Exp $ */ +/* $Id: ml.h,v 1.5 2008/12/05 11:28:17 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -29,19 +29,21 @@ enum md_ns { MD_NS_DEFAULT, }; -typedef int (*ml_begin)(struct md_mbuf *, - const struct md_args *); +typedef int (*ml_begin)(struct md_mbuf *, const struct md_args *, + const struct tm *, const char *, const char *, + const char *, const char *); typedef int (*ml_end)(struct md_mbuf *, - const struct md_args *); + const struct md_args *); typedef ssize_t (*ml_endtag)(struct md_mbuf *, - const struct md_args *, enum md_ns, int); + const struct md_args *, enum md_ns, int); typedef ssize_t (*ml_begintag)(struct md_mbuf *, - const struct md_args *, enum md_ns, int, - const int *, const char **); + const struct md_args *, enum md_ns, int, + const int *, const char **); - __BEGIN_DECLS +int ml_putstring(struct md_mbuf *, + const char *, size_t *); int ml_nputstring(struct md_mbuf *, const char *, size_t, size_t *); int ml_nputs(struct md_mbuf *,