* For debugging: `nix --verify' to check the consistency of the

database and store.
This commit is contained in:
Eelco Dolstra 2003-07-17 12:27:55 +00:00
parent 71cc3ceae5
commit b3fc38bf6a
7 changed files with 139 additions and 14 deletions

View file

@ -8,9 +8,6 @@
using namespace std;
typedef pair<string, string> DBPair;
typedef list<DBPair> DBPairs;
void createDB(const string & filename, const string & dbname);
bool queryDB(const string & filename, const string & dbname,
@ -29,6 +26,6 @@ void delDB(const string & filename, const string & dbname,
const string & key);
void enumDB(const string & filename, const string & dbname,
DBPairs & contents);
Strings & keys);
#endif /* !__DB_H */