#include verificationpacket.h>
Public Member Functions |
|
| VerificationPacket (void) | |
| ~VerificationPacket (void) | |
| bool | Create (u32 blockcount) |
| void | FileId (const MD5Hash &fileid) |
| void | SetBlockHashAndCRC (u32 blocknumber, const MD5Hash &hash, u32 crc) |
| bool | Load (DiskFile *diskfile, u64 offset, PACKET_HEADER &header) |
| const MD5Hash & | FileId (void) const |
| u32 | BlockCount (void) const |
| const FILEVERIFICATIONENTRY * | VerificationEntry (u32 blocknumber) const |
Protected Attributes |
|
| u32 | blockcount |
Definition at line 26 of file verificationpacket.h.
| VerificationPacket::VerificationPacket | ( | void | ) | [inline] |
Definition at line 30 of file verificationpacket.h.
| VerificationPacket::~VerificationPacket | ( | void | ) | [inline] |
Definition at line 31 of file verificationpacket.h.
| bool VerificationPacket::Create | ( | u32 | blockcount | ) |
| void VerificationPacket::FileId | ( | const MD5Hash & | fileid | ) |
| bool VerificationPacket::Load | ( | DiskFile * | diskfile, | |
| u64 | offset, | |||
| PACKET_HEADER & | header | |||
| ) |
| const MD5Hash & VerificationPacket::FileId | ( | void | ) | const [inline]
|
Definition at line 58 of file verificationpacket.h.
| u32 VerificationPacket::BlockCount | ( | void | ) | const [inline]
|
Definition at line 65 of file verificationpacket.h.
| const FILEVERIFICATIONENTRY * VerificationPacket::VerificationEntry | ( | u32 | blocknumber | ) | const [inline]
|
Definition at line 72 of file verificationpacket.h.
u32 VerificationPacket::blockcount [protected]
|
Definition at line 55 of file verificationpacket.h.