diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-03 18:09:14 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-09-03 18:09:14 +0000 |
commit | c770387f803c840900502ca28d15d35e99650baf (patch) | |
tree | 08bbe0df94aca90459dd30338e163a1ce94dbb3a /mansearch.h | |
parent | 23314f00a3de516604e28d2a34bde0428f6067fb (diff) | |
download | mandoc-c770387f803c840900502ca28d15d35e99650baf.tar.gz |
If a manual page is installed gzip(1)ed, let makewhatis(8) take
note in mandoc.db(5), such that man(1) -w and apropos(1) -w can
report the correct filename.
This is a prerequisite for letting apropos -a and man support
gzip'ed manuals in the future, which doesn't work yet.
Diffstat (limited to 'mansearch.h')
-rw-r--r-- | mansearch.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mansearch.h b/mansearch.h index 80c9e6a7..7e40ef45 100644 --- a/mansearch.h +++ b/mansearch.h @@ -68,6 +68,11 @@ #define NAME_HEAD 0x0000004000000010ULL #define NAME_MASK 0x000000000000001fULL +#define FORM_CAT 0 /* manual page is preformatted */ +#define FORM_SRC 1 /* format is mdoc(7) or man(7) */ +#define FORM_GZ 2 /* compressed with gzip(1) */ +#define FORM_NONE 4 /* format is unknown */ + enum argmode { ARG_FILE = 0, ARG_NAME, |