diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-06-08 10:43:01 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2012-06-08 10:43:01 +0000 |
commit | e65910f2c18c908bff6c793aeaa30f94bc89a8bc (patch) | |
tree | e03d7befe954449af5973f67843c3157bf018994 /mandocdb.h | |
parent | 9a186f60163058003605fd44bdac5d7a7087c8ad (diff) | |
download | mandoc-e65910f2c18c908bff6c793aeaa30f94bc89a8bc.tar.gz mandoc-e65910f2c18c908bff6c793aeaa30f94bc89a8bc.tar.zst mandoc-e65910f2c18c908bff6c793aeaa30f94bc89a8bc.zip |
Re-tooled mandocdb using sqlite3 and ohash.
See the tech@ mailing list entries in June 2012 for details, as well as the
discuss@ mailing list entries from March 2012.
Among other changes, this utility now:
1. uses a single sqlite3 database instead of several berkeley dbs
2. stores utf-8 encoded strings
3. using ohash to aggressively hash its contents
4. using fts() instead of manually walking directories
Diffstat (limited to 'mandocdb.h')
-rw-r--r-- | mandocdb.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandocdb.h,v 1.6 2012/03/23 02:52:33 kristaps Exp $ */ +/* $Id: mandocdb.h,v 1.7 2012/06/08 10:43:01 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -18,7 +18,6 @@ #define MANDOCDB_H #define MANDOC_DB "mandocdb.db" -#define MANDOC_IDX "mandocdb.index" #define TYPE_An 0x0000000000000001ULL #define TYPE_Ar 0x0000000000000002ULL |