mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
25 lines
375 B
C++
25 lines
375 B
C++
class CClientThread;
|
|
class IFile;
|
|
struct SChunk;
|
|
|
|
#include "../Interface/Thread.h"
|
|
#include "../md5.h"
|
|
|
|
class ChunkSendThread : public IThread
|
|
{
|
|
public:
|
|
ChunkSendThread(CClientThread *parent, IFile *file);
|
|
|
|
void operator()(void);
|
|
|
|
bool sendChunk(SChunk *chunk);
|
|
|
|
private:
|
|
|
|
CClientThread *parent;
|
|
IFile *file;
|
|
|
|
char *chunk_buf;
|
|
|
|
MD5 md5_hash;
|
|
}; |