diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-07T09·25+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-07T09·25+0000 |
commit | 5895c160c466c0a97716ffdf5ef654eb1c3c6009 (patch) | |
tree | 8e2756dd75b785f550c00538e4b97570d6a4c1c6 /src/db.hh | |
parent | 609a224848dd08cea35a89b03b64274c82f0a2a7 (diff) |
* Make dbRefs a mapping from Hash to [Path].
Diffstat (limited to 'src/db.hh')
-rw-r--r-- | src/db.hh | 8 |
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); |