diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-01-05 00:29:54 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-01-05 00:29:54 +0000 |
commit | 54a35af24eafe969f6b7acd3eb923ffa75bfb0ab (patch) | |
tree | 7c863df45c95f067bc73be88c8c3e15ddf0741bb /mansearch.h | |
parent | 8281d16ab8523b1a8236af7e4319deff2c05090b (diff) | |
download | mandoc-54a35af24eafe969f6b7acd3eb923ffa75bfb0ab.tar.gz |
Put section and architecture info into the keys table,
in preparation for removing them from the mpages table,
aiming for cleaner and more uniform interfaces.
Database growth is below 4%, part of which will be reclaimed.
As a bonus, this allows searches like:
./obj/apropos An=kettenis -a arch=ppc
./obj/apropos An=kettenis -a sec~[^4]
Diffstat (limited to 'mansearch.h')
-rw-r--r-- | mansearch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mansearch.h b/mansearch.h index bbf01386..1339a5de 100644 --- a/mansearch.h +++ b/mansearch.h @@ -58,6 +58,8 @@ #define TYPE_Va 0x0000000800000000ULL #define TYPE_Vt 0x0000001000000000ULL #define TYPE_Xr 0x0000002000000000ULL +#define TYPE_sec 0x0000004000000000ULL +#define TYPE_arch 0x0000008000000000ULL __BEGIN_DECLS |