blob: 48d7ac75e5eb75794cb891d96e8ca12482ddc5aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "conf.h"
#include "cdbpriv.h"
uint32_t
cdb_unpack(unsigned char *buf)
{
uint32_t num;
num = buf[3]; num <<= 8;
num += buf[2]; num <<= 8;
num += buf[1]; num <<= 8;
num += buf[0];
return num;
}
|