Revert of Update WV test license server config to use portable sdk server. (https...
[chromium-blink-merge.git] / rlz / lib / crc32.h
blobaded35588ee4b1d2cff930f8a6df512c921b31fb
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.
7 #ifndef RLZ_LIB_CRC32_H_
8 #define RLZ_LIB_CRC32_H_
10 namespace rlz_lib {
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_