blob: aded35588ee4b1d2cff930f8a6df512c921b31fb [file] [log] [blame]
jam@chromium.org6dba1dd2012-06-26 00:39:451// 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
10namespace rlz_lib {
11
12int Crc32(const unsigned char* buf, int length);
13bool Crc32(const char* text, int* crc);
14
15} // namespace rlz_lib
16
17#endif // RLZ_LIB_CRC32_H_