2003-06-16 15:33:38 +02:00
|
|
|
#include "globals.hh"
|
|
|
|
#include "db.hh"
|
|
|
|
|
|
|
|
|
2003-07-08 10:35:06 +02:00
|
|
|
string dbHash2Paths = "hash2paths";
|
2003-07-04 14:18:06 +02:00
|
|
|
string dbSuccessors = "successors";
|
2003-06-16 15:33:38 +02:00
|
|
|
|
2003-06-27 15:55:12 +02:00
|
|
|
string nixStore = "/UNINIT";
|
2003-06-16 15:33:38 +02:00
|
|
|
string nixLogDir = "/UNINIT";
|
|
|
|
string nixDB = "/UNINIT";
|
|
|
|
|
|
|
|
|
|
|
|
void initDB()
|
|
|
|
{
|
2003-07-08 10:35:06 +02:00
|
|
|
createDB(nixDB, dbHash2Paths);
|
2003-07-04 14:18:06 +02:00
|
|
|
createDB(nixDB, dbSuccessors);
|
2003-06-16 15:33:38 +02:00
|
|
|
}
|