about summary refs log tree commit diff
path: root/src/db.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/db.hh')
-rw-r--r--src/db.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/db.hh b/src/db.hh
index 0054dbec13e1..aee6ce9bff90 100644
--- a/src/db.hh
+++ b/src/db.hh
@@ -4,6 +4,8 @@
 #include <string>
 #include <list>
 
+#include "util.hh"
+
 using namespace std;
 
 typedef pair<string, string> DBPair;
@@ -14,9 +16,15 @@ void createDB(const string & filename, const string & dbname);
 bool queryDB(const string & filename, const string & dbname,
     const string & key, string & data);
 
+bool queryListDB(const string & filename, const string & dbname,
+    const string & key, Strings & data);
+
 void setDB(const string & filename, const string & dbname,
     const string & key, const string & data);
 
+void setListDB(const string & filename, const string & dbname,
+    const string & key, const Strings & data);
+
 void delDB(const string & filename, const string & dbname,
     const string & key);