3 int readhexline(FILE *fd, void **data, size_t *len, long *address);
5 #define HEX_FILE_ERR_CHECKSUM -1 /* Invalid checksum */
6 #define HEX_FILE_CORRUPT_LINE -2 /* Corrupt line, no data read */
7 #define HEX_FILE_END_OF_FILE -3 /* End of line */
9 #endif /* __HEXFILE_H__ */