00001 #ifndef L3_BANKUTILS_H 00002 #define L3_BANKUTILS_H 00003 00004 #ifndef TRG_VERSION 00005 #define TRG_VERSION 0x32 00006 #endif 00007 00008 #include "daqFormats.h" 00009 00010 void *offlen2ptr(void *base, struct offlen ol); 00011 void *offlen2ptr(void *base, struct offlen ol, char *type); 00012 00013 void *validate(void * ptr, char *type); 00014 bool validateBank(void * ptr, char *type); 00015 00016 // Get the size of a bank in bytes (NOT dwords); 00017 int bankSize(bankHeader bh); 00018 00019 #endif
1.5.9