]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // Copyright (c) 2011-present, Facebook, Inc. All rights reserved. |
2 | // This source code is licensed under the BSD-style license found in the | |
3 | // LICENSE file in the root directory of this source tree. An additional grant | |
4 | // of patent rights can be found in the PATENTS file in the same directory. | |
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 | ||
14 | namespace rocksdb { | |
15 | namespace port { | |
16 | namespace xpress { | |
17 | ||
18 | bool Compress(const char* input, size_t length, std::string* output); | |
19 | ||
20 | char* Decompress(const char* input_data, size_t input_length, | |
21 | int* decompress_size); | |
22 | ||
23 | } | |
24 | } | |
25 | } | |
26 |