mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
17 lines
366 B
C++
17 lines
366 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "../Interface/Object.h"
|
|
|
|
class IAESGCMDecryption : public IObject
|
|
{
|
|
public:
|
|
virtual bool put(const char *data, size_t data_size) = 0;
|
|
virtual std::string get(bool& has_error) = 0;
|
|
virtual bool get(char *data, size_t& data_size) = 0;
|
|
|
|
virtual int64 getOverheadBytes() = 0;
|
|
|
|
virtual bool hasData() = 0;
|
|
}; |