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.
5 // A wrapper around ZLib's CRC function.
7 #ifndef RLZ_LIB_CRC32_H_
8 #define RLZ_LIB_CRC32_H_
12 int Crc32(const unsigned char* buf, int length);
13 bool Crc32(const char* text, int* crc);
15 } // namespace rlz_lib
17 #endif // RLZ_LIB_CRC32_H_