summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/database.h
diff options
context:
space:
mode:
authorpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-17 03:50:11 +0000
committerpauldubois <pauldubois@c06c8d41-db1a-0410-9941-cceddc491573>2008-03-17 03:50:11 +0000
commita1cb627fe6c5c02821882f00da77c27689d3b4d9 (patch)
tree2676ef8659671ff69fa4e9431882f515ab9e2c4e /crawl-ref/source/database.h
parentca4ff26143d25d97efe7c0f3180343e5b5135355 (diff)
downloadcrawl-ref-a1cb627fe6c5c02821882f00da77c27689d3b4d9.tar.gz
crawl-ref-a1cb627fe6c5c02821882f00da77c27689d3b4d9.zip
Morphed SingleFileDB into TextDB, a class that accepts any number of
input files. Use it for all the databases, at least all the ones managed by database.cc. Gets rid of 150 lines of code :) Also, fix 1910634 by adding insult.txt to the shout db. It results in some duplication in the dbs on disk, but it's an OK fix for now, I think. The DBs are now in the subdirectory saves/db/ ; is this a problem for distribution? I poke around in that directory occasionally and it's convenient to have the DBs out of the way. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3680 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/database.h')
-rw-r--r--crawl-ref/source/database.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/crawl-ref/source/database.h b/crawl-ref/source/database.h
index 3f41b63029..b335af9699 100644
--- a/crawl-ref/source/database.h
+++ b/crawl-ref/source/database.h
@@ -33,7 +33,6 @@ extern "C" {
void databaseSystemInit();
void databaseSystemShutdown();
-DBM *openDB(const char *dbFilename);
datum database_fetch(DBM *database, const std::string &key);
typedef bool (*db_find_filter)(std::string key, std::string body);