cbmimage
Loading...
Searching...
No Matches
getters.c File Reference

cbmimage: getting image specific data More...

#include "cbmimage/internal.h"
#include "cbmimage/alloc.h"
#include <assert.h>
Include dependency graph for getters.c:

Functions

const void * cbmimage_image_get_raw (cbmimage_fileimage *image)
 get a pointer to the raw image contents
 
size_t cbmimage_image_get_raw_size (cbmimage_fileimage *image)
 get the size of the raw image contents
 
const char * cbmimage_get_imagetype_name (cbmimage_fileimage *image)
 get the image type as string
 
const char * cbmimage_get_filename (cbmimage_fileimage *image)
 get the file name of the image
 
uint16_t cbmimage_get_max_track (cbmimage_fileimage *image)
 get the maximum tracks of the image
 
uint16_t cbmimage_get_max_sectors (cbmimage_fileimage *image)
 get the maximum sectors on a track of the image
 
uint16_t cbmimage_get_max_lba (cbmimage_fileimage *image)
 get the maximum LBA of the image
 
uint16_t cbmimage_get_bytes_in_block (cbmimage_fileimage *image)
 get the number of blocks in a block of the image
 
uint16_t cbmimage_get_sectors_in_track (cbmimage_fileimage *image, uint16_t track)
 get the number of sectors on a specific track of the image
 

Detailed Description

cbmimage: getting image specific data


Author
Spiro Trikaliotis