Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

srecload.h File Reference

Go to the source code of this file.

Data Structures

struct  image_t
 wrapper for an s-record image More...

Functions

void image_load (image_t *img, const char *filename)
 load an RCX s-record file and return its image


Function Documentation

void image_load image_t img,
const char *  filename
 

load an RCX s-record file and return its image

Parameters:
filename file to load
img image to store to

Definition at line 158 of file srecload.c.

References srec_t::addr, image_t::base, calloc(), srec_t::count, srec_t::data, image_t::data_size, exit(), memcpy(), image_t::offset, S_INVALID_CHAR, S_INVALID_CKSUM, S_INVALID_HDR, S_INVALID_TYPE, S_NULL, S_TOO_LONG, S_TOO_SHORT, srec_decode(), symbols_load(), image_t::text, image_t::text_size, and srec_t::type.

Referenced by main().


Generated on Fri Feb 25 08:02:47 2005 for brickos by  doxygen 1.3.9.1