4 #include "eemcConstDB.hh"
6 #include "eemcDbPMTconf.hh"
7 #include "eemcDbADCconf.hh"
8 #include "eemcDbBoxconf.hh"
10 #include "eemcDbPMTcal.hh"
11 #include "eemcDbPIXcal.hh"
12 #include "eemcDbPMTname.hh"
13 #include "eemcDbPIXname.hh"
14 #include "eemcDbPMTped.hh"
15 #include "eemcDbPMTstat.hh"
18 #include "eemcDbPMTchar.hh"
19 #include "eemcDbCWchar.hh"
21 #include "eemcDbHVsys.hh"
22 #include "eemcDbHVtemp.hh"
24 #include "eemcDbXMLdata.hh"
30 static const time_t EEmcDbMaxUnixTime = 1988150400;
32 static const int EEmcDbMaxDbPathLen = 1024;
33 static const int EEmcDbMaxKeyLength = 256;
34 static const char EEmcDbKeyFormat[] =
"#%s/%s";
37 enum EEmcDbAction { GetDB , SetDB , PrintTree , PrintHistory, PrintConfig };
41 #define dprintf(str...) if(!quietMode) fprintf(stderr,str)
43 #define dprintf(str...) ;
47 time_t getTimeStamp(
const char *dbTimeFormat[] ,
const char *timestr);
48 char *fmtSqlTime(
const char* sqltime);
51 extern int verboseMode;
52 extern int quietMode ;