version 1.4, 2017/02/10 15:45:28 |
version 1.8, 2020/04/02 22:12:55 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
/* |
/* |
* Copyright (c) 2011, 2015 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2011,2015,2017,2018,2020 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
|
|
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* 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. */ |
/* List of unique, absolute paths to manual trees. */ |
Line 30 struct manoutput { |
|
Line 33 struct manoutput { |
|
char *man; |
char *man; |
char *paper; |
char *paper; |
char *style; |
char *style; |
|
char *tag; |
size_t indent; |
size_t indent; |
size_t width; |
size_t width; |
int fragment; |
int fragment; |
int mdoc; |
int mdoc; |
int synopsisonly; |
|
int noval; |
int noval; |
|
int synopsisonly; |
|
int tag_found; |
|
int toc; |
}; |
}; |
|
|
struct manconf { |
struct manconf { |
|
|
void manconf_parse(struct manconf *, const char *, char *, char *); |
void manconf_parse(struct manconf *, const char *, char *, char *); |
int manconf_output(struct manoutput *, const char *, int); |
int manconf_output(struct manoutput *, const char *, int); |
void manconf_free(struct manconf *); |
void manconf_free(struct manconf *); |
|
void manpath_base(struct manpaths *); |