=================================================================== RCS file: /cvs/mandoc/manconf.h,v retrieving revision 1.1 retrieving revision 1.6 diff -u -p -r1.1 -r1.6 --- mandoc/manconf.h 2015/03/27 17:37:25 1.1 +++ mandoc/manconf.h 2018/10/02 14:56:47 1.6 @@ -1,6 +1,6 @@ -/* $OpenBSD: manconf.h,v 1.1 2015/03/27 17:37:25 schwarze Exp $ */ +/* $Id: manconf.h,v 1.6 2018/10/02 14:56:47 schwarze Exp $ */ /* - * Copyright (c) 2011, 2015 Ingo Schwarze + * Copyright (c) 2011, 2015, 2017 Ingo Schwarze * Copyright (c) 2011 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any @@ -34,7 +34,9 @@ struct manoutput { size_t width; int fragment; int mdoc; + int noval; int synopsisonly; + int toc; }; struct manconf { @@ -42,10 +44,8 @@ struct manconf { struct manpaths manpath; }; -__BEGIN_DECLS void manconf_parse(struct manconf *, const char *, char *, char *); -void manconf_output(struct manoutput *, const char *); +int manconf_output(struct manoutput *, const char *, int); void manconf_free(struct manconf *); - -__END_DECLS +void manpath_base(struct manpaths *);