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.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/crawl-ref/source/database.h b/crawl-ref/source/database.h
index e1cb3f230e..b30d8814e6 100644
--- a/crawl-ref/source/database.h
+++ b/crawl-ref/source/database.h
@@ -40,7 +40,12 @@ void databaseSystemShutdown();
DBM *openDB(const char *dbFilename);
datum database_fetch(DBM *database, const std::string &key);
-std::string getLongDescription(const std::string &key);
+std::vector<std::string> database_find_keys(DBM *database,
+ const std::string &regex,
+ bool ignore_case = false);
+
+std::string getLongDescription(const std::string &key);
+std::vector<std::string> getLongDescriptionByRegex(const std::string &regex);
std::string getShoutString(const std::string &monst,
const std::string &suffix = "");