]>
Commit | Line | Data |
---|---|---|
7c673cae | 1 | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved. |
11fdf7f2 TL |
2 | // This source code is licensed under both the GPLv2 (found in the |
3 | // COPYING file in the root directory) and Apache 2.0 License | |
4 | // (found in the LICENSE.Apache file in the root directory). | |
7c673cae FG |
5 | // |
6 | // Copyright (c) 2011 The LevelDB Authors. All rights reserved. | |
7 | // Use of this source code is governed by a BSD-style license that can be | |
8 | // found in the LICENSE file. See the AUTHORS file for names of contributors. | |
9 | ||
10 | #pragma once | |
11 | ||
12 | #include <string> | |
13 | ||
f67539c2 TL |
14 | #include "rocksdb/rocksdb_namespace.h" |
15 | ||
16 | namespace ROCKSDB_NAMESPACE { | |
7c673cae FG |
17 | namespace port { |
18 | namespace xpress { | |
19 | ||
20 | bool Compress(const char* input, size_t length, std::string* output); | |
21 | ||
22 | char* Decompress(const char* input_data, size_t input_length, | |
20effc67 | 23 | size_t* uncompressed_size); |
7c673cae FG |
24 | } |
25 | } | |
f67539c2 | 26 | } // namespace ROCKSDB_NAMESPACE |