xrootd
XrdOucCRC.hh
Go to the documentation of this file.
1 #ifndef __XRDOUCCRC_HH__
2 #define __XRDOUCCRC_HH__
3 /******************************************************************************/
4 /* */
5 /* X r d O u c C R C . h h */
6 /* */
7 /* (c) 2007 by the Board of Trustees of the Leland Stanford, Jr., University */
8 /* All Rights Reserved */
9 /* Produced by Andrew Hanushevsky for Stanford University under contract */
10 /* DE-AC02-76-SFO0515 with the Department of Energy */
11 /******************************************************************************/
12 
13 // $Id$
14 
15 class XrdOucCRC
16 {
17 public:
18 
19 static unsigned int CRC32(const unsigned char *rec, int reclen);
20 
21  XrdOucCRC() {}
23 
24 private:
25 
26 static unsigned int crctable[256];
27 };
28 #endif