=================================================================== RCS file: /cvs/mandoc/libmandoc.h,v retrieving revision 1.41 retrieving revision 1.43 diff -u -p -r1.41 -r1.43 --- mandoc/libmandoc.h 2014/04/20 16:46:04 1.41 +++ mandoc/libmandoc.h 2014/09/06 22:39:36 1.43 @@ -1,4 +1,4 @@ -/* $Id: libmandoc.h,v 1.41 2014/04/20 16:46:04 schwarze Exp $ */ +/* $Id: libmandoc.h,v 1.43 2014/09/06 22:39:36 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons * Copyright (c) 2013, 2014 Ingo Schwarze @@ -50,7 +50,8 @@ int mandoc_strntoi(const char *, size_t, int); const char *mandoc_a2msec(const char*); void mdoc_free(struct mdoc *); -struct mdoc *mdoc_alloc(struct roff *, struct mparse *, char *, int); +struct mdoc *mdoc_alloc(struct roff *, struct mparse *, + const char *, int); void mdoc_reset(struct mdoc *); int mdoc_parseln(struct mdoc *, int, char *, int); int mdoc_endparse(struct mdoc *); @@ -76,6 +77,7 @@ int roff_getreg(const struct roff *, const char *); char *roff_strdup(const struct roff *, const char *); int roff_getcontrol(const struct roff *, const char *, int *); +int roff_getformat(const struct roff *); #if 0 char roff_eqndelim(const struct roff *); void roff_openeqn(struct roff *, const char *,