Botan 3.6.1
Crypto and TLS for C&
bzip2.h
Go to the documentation of this file.
1/*
2* Bzip2 Compressor
3* (C) 2001 Peter J Jones
4* 2001-2007,2014 Jack Lloyd
5*
6* Botan is released under the Simplified BSD License (see license.txt)
7*/
8
9#ifndef BOTAN_BZIP2_H_
10#define BOTAN_BZIP2_H_
11
12#include <botan/compression.h>
13
14namespace Botan {
15
16/**
17* Bzip2 Compression
18*/
20 public:
21 std::string name() const override { return "Bzip2_Compression"; }
22
23 private:
24 std::unique_ptr<Compression_Stream> make_stream(size_t comp_level) const override;
25};
26
27/**
28* Bzip2 Deccompression
29*/
31 public:
32 std::string name() const override { return "Bzip2_Decompression"; }
33
34 private:
35 std::unique_ptr<Compression_Stream> make_stream() const override;
36};
37
38} // namespace Botan
39
40#endif
std::string name() const override
Definition bzip2.h:21
std::string name() const override
Definition bzip2.h:32
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
Definition compiler.h:31