]> git.proxmox.com Git - ceph.git/blob - ceph/src/rocksdb/port/win/xpress_win.h
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / rocksdb / port / win / xpress_win.h
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