2003-06-16 16:33:38 +03:00
|
|
|
#ifndef __GLOBALS_H
|
|
|
|
#define __GLOBALS_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
/* Path names. */
|
|
|
|
|
2003-06-27 16:55:12 +03:00
|
|
|
/* nixStore is the directory where we generally store atomic and
|
|
|
|
derived files. */
|
|
|
|
extern string nixStore;
|
2003-06-16 16:33:38 +03:00
|
|
|
|
2003-07-10 16:41:28 +03:00
|
|
|
extern string nixDataDir; /* !!! fix */
|
|
|
|
|
2003-06-27 16:55:12 +03:00
|
|
|
/* nixLogDir is the directory where we log various operations. */
|
2003-06-16 16:33:38 +03:00
|
|
|
extern string nixLogDir;
|
|
|
|
|
2003-07-31 16:47:13 +03:00
|
|
|
/* nixDBPath is the path name of our Berkeley DB environment. */
|
|
|
|
extern string nixDBPath;
|
|
|
|
|
2003-06-16 16:33:38 +03:00
|
|
|
|
2003-08-19 12:04:47 +03:00
|
|
|
/* Misc. global flags. */
|
|
|
|
|
|
|
|
/* Whether to keep temporary directories of failed builds. */
|
|
|
|
extern bool keepFailed;
|
|
|
|
|
|
|
|
|
2003-06-16 16:33:38 +03:00
|
|
|
#endif /* !__GLOBALS_H */
|