Botan 2.19.2
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 {
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*/
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
std::string name() const override
Definition: bzip2.h:22
std::string name() const override
Definition: bzip2.h:33
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
Definition: compiler.h:31
Definition: alg_id.cpp:13