diff options
Diffstat (limited to 'third_party/courgette/crc.h')
-rw-r--r-- | third_party/courgette/crc.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/third_party/courgette/crc.h b/third_party/courgette/crc.h new file mode 100644 index 0000000..6f4fbb0 --- /dev/null +++ b/third_party/courgette/crc.h @@ -0,0 +1,17 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COURGETTE_CRC_H_
+#define COURGETTE_CRC_H_
+
+#include "base/basictypes.h"
+
+namespace courgette {
+
+// Calculates Crc of the given buffer by calling CRC method in LZMA SDK
+//
+uint32 CalculateCrc(const uint8* buffer, size_t size);
+
+} // namespace courgette
+#endif // COURGETTE_CRC_H_
|