2015-10-30 12:33:40 +01:00
|
|
|
#pragma once
|
|
|
|
|
2016-04-15 15:11:34 +02:00
|
|
|
#include "ref.hh"
|
2016-04-29 17:02:57 +02:00
|
|
|
#include "types.hh"
|
2016-04-15 15:11:34 +02:00
|
|
|
|
2015-10-30 12:33:40 +01:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace nix {
|
|
|
|
|
2016-04-29 17:02:57 +02:00
|
|
|
ref<std::string> compress(const std::string & method, ref<std::string> in);
|
2016-02-15 21:45:56 +01:00
|
|
|
|
2016-04-29 17:02:57 +02:00
|
|
|
ref<std::string> decompress(const std::string & method, ref<std::string> in);
|
|
|
|
|
|
|
|
MakeError(UnknownCompressionMethod, Error);
|
2015-10-30 12:33:40 +01:00
|
|
|
|
|
|
|
}
|