#define OPENOCD_TARGET_IMAGE_H
#include <helper/fileio.h>
#include <helper/replacements.h>
#include <elf.h>
#define IMAGE_MAX_ERROR_STRING
#define IMAGE_MAX_SECTIONS
#define IMAGE_MEMORY_CACHE_SIZE
image_type
IMAGE_BINARY
IMAGE_IHEX
IMAGE_MEMORY
IMAGE_ELF
IMAGE_SRECORD
IMAGE_BUILDER
imagesection
base_address
size
flags
private
image
type
type_private
num_sections
sections
base_address_set
base_address
start_address_set
start_address
image_binary
fileio
image_ihex
fileio
buffer
image_memory
target
cache
cache_address
image_elf
fileio
is_64_bit
<anonymous union>
header32
header64
<anonymous union>
segments32
segments64
segment_count
endianness
image_mot
fileio
buffer
image_open(struct image *, const char *, const char *);
image_read_section(struct image *, int, target_addr_t, uint32_t, uint8_t *, size_t *);
image_close(struct image *);
image_add_section(struct image *, target_addr_t, uint32_t, uint64_t, const uint8_t *);
image_calculate_checksum(const uint8_t *, uint32_t, uint32_t *);
#define ERROR_IMAGE_FORMAT_ERROR
#define ERROR_IMAGE_TYPE_UNKNOWN
#define ERROR_IMAGE_TEMPORARILY_UNAVAILABLE
#define ERROR_IMAGE_CHECKSUM