| changeset 0 | 068428edee47 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cdb_unpack.c Fri Oct 19 14:06:22 2007 +0200 @@ -0,0 +1,12 @@ +#include "cdb.h" + +uint32 cdb_unpack(buf) +unsigned char *buf; +{ + uint32 num; + num = buf[3]; num <<= 8; + num += buf[2]; num <<= 8; + num += buf[1]; num <<= 8; + num += buf[0]; + return num; +}