]>
git.proxmox.com Git - ceph.git/blob - 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.
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.
18 bool Compress(const char* input
, size_t length
, std::string
* output
);
20 char* Decompress(const char* input_data
, size_t input_length
,
21 int* decompress_size
);