|
cbmimage
|
cbmimage block accessor data structure More...
#include <cbmimage.h>

Public Attributes | |
| cbmimage_fileimage * | image |
| the image which this accessor handles | |
| cbmimage_blockaddress | block |
| the (current) block address of the block of this accessor | |
| uint8_t * | data |
| pointer to the data buffer where the block resides | |
cbmimage block accessor data structure
In order to access blocks, this data structure can be used. For small images, it gives back pointers to the in-memory copy of a block.
For bigger images, it accesses the on-disk image and gives a copy of it somewhere in memory.