=================================================================== RCS file: /cvs/mandoc/manconf.h,v retrieving revision 1.4 retrieving revision 1.8 diff -u -p -r1.4 -r1.8 --- mandoc/manconf.h 2017/02/10 15:45:28 1.4 +++ mandoc/manconf.h 2020/04/02 22:12:55 1.8 @@ -1,6 +1,6 @@ -/* $OpenBSD: manconf.h,v 1.4 2017/02/10 15:45:28 schwarze Exp $ */ +/* $OpenBSD: manconf.h,v 1.8 2020/04/02 22:12:55 schwarze Exp $ */ /* - * Copyright (c) 2011, 2015 Ingo Schwarze + * Copyright (c) 2011,2015,2017,2018,2020 Ingo Schwarze * Copyright (c) 2011 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any @@ -14,6 +14,9 @@ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * Public interface to man(1) configuration management. + * For use by the main program and by the formatters. */ /* List of unique, absolute paths to manual trees. */ @@ -30,12 +33,15 @@ struct manoutput { char *man; char *paper; char *style; + char *tag; size_t indent; size_t width; int fragment; int mdoc; - int synopsisonly; int noval; + int synopsisonly; + int tag_found; + int toc; }; struct manconf { @@ -47,3 +53,4 @@ struct manconf { void manconf_parse(struct manconf *, const char *, char *, char *); int manconf_output(struct manoutput *, const char *, int); void manconf_free(struct manconf *); +void manpath_base(struct manpaths *);