OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 // | |
5 // A wrapper around ZLib's CRC function. | |
6 | |
7 #ifndef RLZ_LIB_CRC32_H_ | |
8 #define RLZ_LIB_CRC32_H_ | |
9 | |
10 namespace rlz_lib { | |
11 | |
12 int Crc32(const unsigned char* buf, int length); | |
13 bool Crc32(const char* text, int* crc); | |
14 | |
15 } // namespace rlz_lib | |
16 | |
17 #endif // RLZ_LIB_CRC32_H_ | |
OLD | NEW |