QDP++
include
qdp_crc32.h
Go to the documentation of this file.
1
/* Code source
2
http://www.ovmj.org/GNUnet/doxygen/html/crc32_8h-source.html
3
*/
4
/*
5
This file is part of GNUnet
6
7
GNUnet is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published
9
by the Free Software Foundation; either version 2, or (at your
10
option) any later version.
11
12
GNUnet is distributed in the hope that it will be useful, but
13
WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15
General Public License for more details.
16
17
You should have received a copy of the GNU General Public License
18
along with GNUnet; see the file COPYING. If not, write to the
19
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
20
Boston, MA 02111-1307, USA.
21
*/
22
23
#ifndef __qdp_crc32_h__
24
#define __qdp_crc32_h__
25
26
// #include <qio_stdint.h>
27
28
typedef
uint32_t
uLong
;
/* At least 32 bits */
29
30
#define Z_NULL 0
31
32
uLong
crc32
(
uLong
crc,
char
const
* buf,
size_t
len);
33
34
#endif
uLong
uint32_t uLong
crc32
uLong crc32(uLong crc, char const *buf, size_t len)
Generated by
1.16.1