InnoDB Plugin  1.0
ut0crc32.h
Go to the documentation of this file.
1 /*****************************************************************************
2 
3 Copyright (c) 2011, 2011, Oracle and/or its affiliates. All Rights Reserved.
4 
5 This program is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free Software
7 Foundation; version 2 of the License.
8 
9 This program is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12 
13 You should have received a copy of the GNU General Public License along with
14 this program; if not, write to the Free Software Foundation, Inc.,
15 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
16 
17 *****************************************************************************/
18 
19 /**************************************************/
26 #ifndef ut0crc32_h
27 #define ut0crc32_h
28 
29 #include "univ.i"
30 
31 /********************************************************************/
34 UNIV_INTERN
35 void
37 /*===========*/
38 
39 /********************************************************************/
45 typedef ib_uint32_t (*ib_ut_crc32_t)(const byte* ptr, ulint len);
46 
47 extern ib_ut_crc32_t ut_crc32;
48 
49 extern bool ut_crc32_sse2_enabled;
50 
51 #endif /* ut0crc32_h */