summaryrefslogtreecommitdiff
path: root/utils/imxtools/sbtools/sb.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-07-18 00:27:12 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-07-18 00:27:12 +0200
commit1c8c24183ed9d89519de2924997593cc81f6f33d (patch)
treeba4a7babace41a249c44467982d5e6a70b8d7796 /utils/imxtools/sbtools/sb.h
parent3c5ee9ac57cbac4050df1729a28ec39c60d303ff (diff)
downloadrockbox-1c8c24183ed9d89519de2924997593cc81f6f33d.tar.gz
rockbox-1c8c24183ed9d89519de2924997593cc81f6f33d.zip
sbtools: refactor and cleanup
Factor common elf/sb read/write/printf routines. Factor sb zero key, move sb version guess. Change-Id: I5ae1885587456736e782e623610281bbee545039
Diffstat (limited to 'utils/imxtools/sbtools/sb.h')
-rw-r--r--utils/imxtools/sbtools/sb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/imxtools/sbtools/sb.h b/utils/imxtools/sbtools/sb.h
index 4873195a61..02150aa2fb 100644
--- a/utils/imxtools/sbtools/sb.h
+++ b/utils/imxtools/sbtools/sb.h
@@ -239,5 +239,9 @@ void sb_dump(struct sb_file_t *file, void *u, sb_color_printf printf);
239void sb_free_instruction(struct sb_inst_t inst); 239void sb_free_instruction(struct sb_inst_t inst);
240void sb_free_section(struct sb_section_t file); 240void sb_free_section(struct sb_section_t file);
241void sb_free(struct sb_file_t *file); 241void sb_free(struct sb_file_t *file);
242void sb_get_zero_key(struct crypto_key_t *key);
243
244/* standard implementation: user is unused*/
245void sb_std_printf(void *user, bool error, color_t c, const char *fmt, ...);
242 246
243#endif /* __SB_H__ */ 247#endif /* __SB_H__ */