blob: ca6e8815b791f8d9a1ab088679fe51eb516e54ad [file] [log] [blame]
Andrew de los Reyesd2135f32010-03-11 16:00:28 -08001// Copyright (c) 2010 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#include <string>
6#include <vector>
7
8namespace chromeos_update_engine {
9
10// Bzip2 compresses or decompresses str/in to out.
11bool BzipDecompress(const std::vector<char>& in, std::vector<char>* out);
12bool BzipCompress(const std::vector<char>& in, std::vector<char>* out);
13bool BzipCompressString(const std::string& str, std::vector<char>* out);
14bool BzipDecompressString(const std::string& str, std::vector<char>* out);
15
16} // namespace chromeos_update_engine