libcryfs/utils/BlockStoreUtils.h

20 lines
375 B
C
Raw Normal View History

2015-01-24 01:24:37 +01:00
#pragma once
#ifndef BLOCKSTORE_UTILS_BLOCKSTOREUTILS_H_
#define BLOCKSTORE_UTILS_BLOCKSTOREUTILS_H_
#include <memory>
namespace blockstore {
class BlockStore;
class Block;
namespace utils {
std::unique_ptr<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