Botan 3.6.1
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
15namespace Botan {
16
17/**
18* LZMA Compression
19*/
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*/
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
std::string name() const override
Definition lzma.h:22
std::string name() const override
Definition lzma.h:33
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
Definition compiler.h:31