Botan
3.6.1
Crypto and TLS for C&
src
lib
compression
lzma
lzma.h
Go to the documentation of this file.
1
/*
2
* Lzma Compressor
3
* (C) 2001 Peter J Jones
4
* 2001-2007 Jack Lloyd
5
* 2012 Vojtech Kral
6
*
7
* Botan is released under the Simplified BSD License (see license.txt)
8
*/
9
10
#ifndef BOTAN_LZMA_H_
11
#define BOTAN_LZMA_H_
12
13
#include <botan/compression.h>
14
15
namespace
Botan
{
16
17
/**
18
* LZMA Compression
19
*/
20
class
BOTAN_PUBLIC_API
(2, 0)
LZMA_Compression
final
:
public
Stream_Compression
{
21
public
:
22
std::string
name
()
const override
{
return
"LZMA_Compression"
; }
23
24
private
:
25
std::unique_ptr<Compression_Stream> make_stream(
size_t
level)
const override
;
26
};
27
28
/**
29
* LZMA Deccompression
30
*/
31
class
BOTAN_PUBLIC_API
(2, 0)
LZMA_Decompression
final
:
public
Stream_Decompression
{
32
public
:
33
std::string
name
()
const override
{
return
"LZMA_Decompression"
; }
34
35
private
:
36
std::unique_ptr<Compression_Stream> make_stream()
const override
;
37
};
38
39
}
// namespace Botan
40
41
#endif
Botan::LZMA_Compression
Definition
lzma.h:20
Botan::LZMA_Compression::name
std::string name() const override
Definition
lzma.h:22
Botan::LZMA_Decompression
Definition
lzma.h:31
Botan::LZMA_Decompression::name
std::string name() const override
Definition
lzma.h:33
Botan::Stream_Compression
Definition
compression.h:211
Botan::Stream_Decompression
Definition
compression.h:233
final
int(* final)(unsigned char *, CTX *)
Definition
commoncrypto_hash.cpp:29
BOTAN_PUBLIC_API
#define BOTAN_PUBLIC_API(maj, min)
Definition
compiler.h:31
Botan
Definition
alg_id.cpp:13
Generated by
1.12.0