Botan 2.19.5 Crypto and TLS for C&

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 {
22 public:
23 std::string name() const override { return "LZMA_Compression"; }
24
25 private:
26 Compression_Stream* make_stream(size_t level) const override;
27 };
28
29/**
30* LZMA Deccompression
31*/
32 class BOTAN_PUBLIC_API(2,0) LZMA_Decompression final : public Stream_Decompression
33 {
34 public:
35 std::string name() const override { return "LZMA_Decompression"; }
36 private:
37 Compression_Stream* make_stream() const override;
38 };
39
40}
41
42#endif
Botan::Compression_Stream
Definition: compression.h:171
Botan::LZMA_Compression
Definition: lzma.h:21
Botan::LZMA_Compression::name
std::string name() const override
Definition: lzma.h:23
Botan::LZMA_Decompression
Definition: lzma.h:33
Botan::LZMA_Decompression::name
std::string name() const override
Definition: lzma.h:35
Botan::Stream_Compression
Definition: compression.h:194
Botan::Stream_Decompression
Definition: compression.h:217
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