summaryrefslogtreecommitdiffstats
path: root/mandocdb.h
Commit message (Collapse)AuthorAgeFilesLines
* Revert to mandocdb.{index,db} for database files.Kristaps Dzonsons2012-03-231-2/+2
|
* Use the traditional name "whatis.db" for the mandocdb(8) databases.Ingo Schwarze2011-12-251-2/+2
| | | | Requested by deraadt@, ok kristaps@.
* For binary compatability of the databases across architectures,Ingo Schwarze2011-12-251-5/+0
| | | | | | | use pointers to arrays, not pointers to structs. It is now possible to create databases on sparc64 and use them on i386 and vice versa. Kristaps@ can't think of anything else that might be required, either. Put this in now such that we can move on.
* Merge schwarze@'s work for 64-bit types. This is based on a tweaked patchKristaps Dzonsons2011-11-201-12/+43
| | | | | | | submitted to tech@ on 16/11/2011, 01:39. It has been updated to account for the logical-operator functions and to avoid keeping a live pointer into the DBT value, which is not guaranteed to be consistent across calls into the bdb library.
* Guard mandocdb.h inclusion.Kristaps Dzonsons2011-11-171-0/+4
|
* Inventing new keywords for mostly the same thing when a well-establishedIngo Schwarze2011-11-131-0/+32
set of keywords already exists is a bad idea, so reuse the mdoc(7) macro names as apropos(1) search types. This is a gain in brevity as well. Some time ago, kristaps@ agreed in principle. The search type bit field constants are used by both mandocdb(8) and apropos(1) and should better stay in sync, so give them their own header file.