static int image_ihex_buffer_complete(image_t *image)
{
- image_ihex_t *ihex = image->type_private;
+ struct image_ihex *ihex = image->type_private;
struct fileio *fileio = &ihex->fileio;
uint32_t full_address = 0x0;
uint32_t cooked_bytes;
}
else if (image->type == IMAGE_IHEX)
{
- image_ihex_t *image_ihex;
+ struct image_ihex *image_ihex;
- image_ihex = image->type_private = malloc(sizeof(image_ihex_t));
+ image_ihex = image->type_private = malloc(sizeof(struct image_ihex));
if ((retval = fileio_open(&image_ihex->fileio, url, FILEIO_READ, FILEIO_TEXT)) != ERROR_OK)
{
}
else if (image->type == IMAGE_IHEX)
{
- image_ihex_t *image_ihex = image->type_private;
+ struct image_ihex *image_ihex = image->type_private;
fileio_close(&image_ihex->fileio);