summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/database.h
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/database.h')
-rw-r--r--crawl-ref/source/database.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/crawl-ref/source/database.h b/crawl-ref/source/database.h
index 09b90364ea..e1cb3f230e 100644
--- a/crawl-ref/source/database.h
+++ b/crawl-ref/source/database.h
@@ -40,22 +40,7 @@ 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);
-
-std::vector<std::string> database_find_keys(DBM *database,
- const std::string &regex,
- bool ignore_case = false,
- db_find_filter filter = NULL);
-std::vector<std::string> database_find_bodies(DBM *database,
- const std::string &regex,
- bool ignore_case = false,
- db_find_filter filter = NULL);
-
-std::string getLongDescription(const std::string &key);
-std::vector<std::string> getLongDescKeysByRegex(const std::string &regex,
- db_find_filter filter = NULL);
-std::vector<std::string> getLongDescBodiesByRegex(const std::string &regex,
- db_find_filter filter = NULL);
+std::string getLongDescription(const std::string &key);
std::string getShoutString(const std::string &monst,
const std::string &suffix = "");