
/*
#ifdef MULTI_DB
#endif
 */

#ifndef _MULTIDBUTIL_H
#define  _MULTIDBUTIL_H

/* #define MULTI_DEBUG 1 */

#define BIT_TO_UINT(bitpattern,i) {\
   unsigned char b[4];\
   memcpy(b,bitpattern,4);\
   i = ((b[0] & 0xff)<<24) | ((b[1] & 0xff)<<16) | ((b[2] & 0xff)<<8) | (b[3] & 0xff);\
}

extern int which_db(void *byte);

extern int zerocmp(unsigned char *buf,int n);

#endif
