Botan 2.19.5 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
14 namespace Botan {
15
16/**
17* Bzip2 Compression
18*/
19 class BOTAN_PUBLIC_API(2,0) Bzip2_Compression final : public Stream_Compression
20 {
21 public:
22 std::string name() const override { return "Bzip2_Compression"; }
23 private:
24 Compression_Stream* make_stream(size_t comp_level) const override;
25 };
26
27/**
28* Bzip2 Deccompression
29*/
30 class BOTAN_PUBLIC_API(2,0) Bzip2_Decompression final : public Stream_Decompression
31 {
32 public:
33 std::string name() const override { return "Bzip2_Decompression"; }
34 private:
35 Compression_Stream* make_stream() const override;
36 };
37
38}
39
40#endif
Botan::Bzip2_Compression
Definition: bzip2.h:20
Botan::Bzip2_Compression::name
std::string name() const override
Definition: bzip2.h:22
Botan::Bzip2_Decompression
Definition: bzip2.h:31
Botan::Bzip2_Decompression::name
std::string name() const override
Definition: bzip2.h:33
Botan::Compression_Stream
Definition: compression.h:171
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