summaryrefslogtreecommitdiff
path: root/Contrib/VPatch/Source/GenPat/adler32.h
blob: d5c25074aec8f85c5395d65423e1fa26149a937b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//---------------------------------------------------------------------------
// Adler32
//---------------------------------------------------------------------------

#if !defined(Adler32_H)
  #define Adler32_H

  namespace Checksum {
    typedef unsigned int   uInt;  /* 16 bits or more */
    typedef unsigned long  uLong; /* 32 bits or more */
    typedef unsigned char  Byte;  /* 8 bits */
    
    uLong adler32(uLong adler, const Byte *buf, uInt len);
  }

#endif // Adler32_H