diff options
Diffstat (limited to 'src/globals.cc')
-rw-r--r-- | src/globals.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/globals.cc b/src/globals.cc new file mode 100644 index 000000000000..14fb431d8897 --- /dev/null +++ b/src/globals.cc @@ -0,0 +1,19 @@ +#include "globals.hh" +#include "db.hh" + + +string dbRefs = "refs"; +string dbNFs = "nfs"; +string dbNetSources = "netsources"; + +string nixValues = "/UNINIT"; +string nixLogDir = "/UNINIT"; +string nixDB = "/UNINIT"; + + +void initDB() +{ + createDB(nixDB, dbRefs); + createDB(nixDB, dbNFs); + createDB(nixDB, dbNetSources); +} |