diff options
Diffstat (limited to 'xpp/utils/hexfile.h')
-rw-r--r-- | xpp/utils/hexfile.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xpp/utils/hexfile.h b/xpp/utils/hexfile.h index 297cfba..f8bf6a9 100644 --- a/xpp/utils/hexfile.h +++ b/xpp/utils/hexfile.h @@ -113,10 +113,11 @@ typedef void (*parse_hexfile_report_func_t)(int level, const char *msg, ...); parse_hexfile_report_func_t parse_hexfile_set_reporting(parse_hexfile_report_func_t rf); void free_hexdata(struct hexdata *hexdata); struct hexdata *parse_hexfile(const char *fname, unsigned int maxlines); -int dump_hexfile(struct hexdata *hexdata, FILE *outfile); -int dump_hexfile2(struct hexdata *hexdata, FILE *outfile, uint8_t maxwidth); +int dump_hexfile(struct hexdata *hexdata, const char *outfile); +int dump_hexfile2(struct hexdata *hexdata, const char *outfile, uint8_t maxwidth); void dump_binary(struct hexdata *hexdata, const char *outfile); -int calc_checksum(struct hexdata *hexdata); +void gen_hexline(const uint8_t *data, uint16_t addr, size_t len, FILE *output); +int bsd_checksum(struct hexdata *hexdata); __END_DECLS #endif |