X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/0376f290310249f2701221cdaaf7138fae3c6989..19e8de1204fe781f452be5be11e3c65d0e9112d3:/manconf.h diff --git a/manconf.h b/manconf.h index 0784b8d6..bb376199 100644 --- a/manconf.h +++ b/manconf.h @@ -1,6 +1,6 @@ -/* $OpenBSD$ */ +/* $Id: manconf.h,v 1.7 2018/11/22 11:30:23 schwarze Exp $ */ /* - * Copyright (c) 2011, 2015 Ingo Schwarze + * Copyright (c) 2011, 2015, 2017, 2018 Ingo Schwarze * Copyright (c) 2011 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any @@ -30,11 +30,14 @@ struct manoutput { char *man; char *paper; char *style; + char *tag; size_t indent; size_t width; int fragment; int mdoc; + int noval; int synopsisonly; + int toc; }; struct manconf { @@ -42,10 +45,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 *);