lix/src/globals.hh
Eelco Dolstra ebff82222c * Refactoring: move all database manipulation into store.cc.
* Removed `--query --generators'.
2003-10-15 12:42:39 +00:00

30 lines
579 B
C++

#ifndef __GLOBALS_H
#define __GLOBALS_H
#include <string>
using namespace std;
/* Path names. */
/* nixStore is the directory where we generally store atomic and
derived files. */
extern string nixStore;
extern string nixDataDir; /* !!! fix */
/* nixLogDir is the directory where we log various operations. */
extern string nixLogDir;
/* nixDBPath is the path name of our Berkeley DB environment. */
extern string nixDBPath;
/* Misc. global flags. */
/* Whether to keep temporary directories of failed builds. */
extern bool keepFailed;
#endif /* !__GLOBALS_H */