00001 #ifndef _PPDBLIB_H_
00002 #define _PPDBLIB_H_
00003
00004 #include <RC_Config.h>
00005
00006 struct ctrStruct {
00007 int starttime;
00008 int endtime;
00009 int which;
00010 int cnt;
00011 int run;
00012 };
00013
00014 void writeCfgDb(PP_CFG *cfg);
00015 void updateCfgDb(int run, int endtime, int nevts);
00016 void writeCounterDb(ctrStruct *ctrs, int n);
00017 void writeFileDb(int run, char *filename, int size);
00018 void writeTestDb(int val);
00019 void *writeTests(void *);
00020
00021 #endif