libcryfs/utils/BlockStoreUtils.h

20 lines
428 B
C
Raw Normal View History

2015-01-24 01:24:37 +01:00
#pragma once
2015-10-15 13:09:21 +02:00
#ifndef MESSMER_BLOCKSTORE_UTILS_BLOCKSTOREUTILS_H_
#define MESSMER_BLOCKSTORE_UTILS_BLOCKSTOREUTILS_H_
2015-01-24 01:24:37 +01:00
#include <messmer/cpp-utils/pointer/unique_ref.h>
2015-01-24 01:24:37 +01:00
namespace blockstore {
class BlockStore;
class Block;
namespace utils {
cpputils::unique_ref<Block> copyToNewBlock(BlockStore *blockStore, const Block &block);
2015-02-22 19:29:30 +01:00
void copyTo(Block *target, const Block &source);
void fillWithZeroes(Block *target);
2015-01-24 01:24:37 +01:00
}
}
#endif