aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandocdb.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2012-06-08 10:43:01 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2012-06-08 10:43:01 +0000
commite65910f2c18c908bff6c793aeaa30f94bc89a8bc (patch)
treee03d7befe954449af5973f67843c3157bf018994 /mandocdb.h
parent9a186f60163058003605fd44bdac5d7a7087c8ad (diff)
downloadmandoc-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.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mandocdb.h b/mandocdb.h
index bda0536e..07456bd1 100644
--- a/mandocdb.h
+++ b/mandocdb.h
@@ -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