Andrew de los Reyes | d2135f3 | 2010-03-11 16:00:28 -0800 | [diff] [blame^] | 1 | // 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 | |
| 8 | namespace chromeos_update_engine { |
| 9 | |
| 10 | // Bzip2 compresses or decompresses str/in to out. |
| 11 | bool BzipDecompress(const std::vector<char>& in, std::vector<char>* out); |
| 12 | bool BzipCompress(const std::vector<char>& in, std::vector<char>* out); |
| 13 | bool BzipCompressString(const std::string& str, std::vector<char>* out); |
| 14 | bool BzipDecompressString(const std::string& str, std::vector<char>* out); |
| 15 | |
| 16 | } // namespace chromeos_update_engine |