nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

cdb_unpack.c (193B)


      1 #include "cdb.h"
      2 
      3 uint32 cdb_unpack(buf)
      4 unsigned char *buf;
      5 {
      6   uint32 num;
      7   num = buf[3]; num <<= 8;
      8   num += buf[2]; num <<= 8;
      9   num += buf[1]; num <<= 8;
     10   num += buf[0];
     11   return num;
     12 }