about summary refs log tree commit diff
path: root/src/globals.cc
blob: a81c90caa41da4522d1ed0f13104cdb34e812057 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "globals.hh"
#include "db.hh"


string dbRefs = "refs";
string dbSuccessors = "successors";
string dbNetSources = "netsources";

string nixStore = "/UNINIT";
string nixLogDir = "/UNINIT";
string nixDB = "/UNINIT";


void initDB()
{
    createDB(nixDB, dbRefs);
    createDB(nixDB, dbSuccessors);
    createDB(nixDB, dbNetSources);
}