=================================================================== RCS file: /cvs/mandoc/mandoc.h,v retrieving revision 1.98 retrieving revision 1.100 diff -u -p -r1.98 -r1.100 --- mandoc/mandoc.h 2011/11/08 00:15:23 1.98 +++ mandoc/mandoc.h 2012/05/27 17:48:57 1.100 @@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.98 2011/11/08 00:15:23 kristaps Exp $ */ +/* $Id: mandoc.h,v 1.100 2012/05/27 17:48:57 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * @@ -413,11 +413,13 @@ int mchars_spec2cp(const struct mchars *, const char *, size_t); const char *mchars_spec2str(const struct mchars *, const char *, size_t, size_t *); -struct mparse *mparse_alloc(enum mparset, - enum mandoclevel, mandocmsg, void *); +struct mparse *mparse_alloc(enum mparset, enum mandoclevel, + mandocmsg, void *, char *); void mparse_free(struct mparse *); void mparse_keep(struct mparse *); enum mandoclevel mparse_readfd(struct mparse *, int, const char *); +enum mandoclevel mparse_readmem(struct mparse *, const void *, size_t, + const char *); void mparse_reset(struct mparse *); void mparse_result(struct mparse *, struct mdoc **, struct man **);