* For debugging: `nix --verify' to check the consistency of the
database and store.
This commit is contained in:
parent
71cc3ceae5
commit
b3fc38bf6a
7 changed files with 139 additions and 14 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue