|
cbmimage
|
cbmimage: read and write blocks into/from an image More...

Functions | |
| static int | cbmimage_i_adjust_relative_address (cbmimage_fileimage *image, cbmimage_blockaddress *block) |
| uint8_t * | cbmimage_i_get_address_of_block (cbmimage_fileimage *image, cbmimage_blockaddress block) |
| int | cbmimage_read_block (cbmimage_fileimage *image, cbmimage_blockaddress block, void *buffer, size_t buffersize) |
| read a block from the image and copy it into the provided buffer | |
| int | cbmimage_write_block (cbmimage_fileimage *image, cbmimage_blockaddress block, void *buffer, size_t buffersize) |
| write a block to the image by copying it from the provided buffer | |
| int | cbmimage_read_next_block (cbmimage_fileimage *image, cbmimage_blockaddress *block, void *buffer, size_t buffersize) |
| read the next block from the image and copy it into the provided buffer | |
cbmimage: read and write blocks into/from an image