1
0
Fork 0
forked from len0rd/rockbox

sbtools: rework the color hack and add switch to disable color output

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30880 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Amaury Pouly 2011-11-01 11:23:24 +00:00
parent 9e0ab22262
commit 591ec0349b
3 changed files with 34 additions and 18 deletions

View file

@ -48,4 +48,10 @@ bool parse_key(char **str, struct crypto_key_t *key);
void add_keys_from_file(const char *key_file);
void print_key(struct crypto_key_t *key, bool newline);
typedef char color_t[];
extern color_t OFF, GREY, RED, GREEN, YELLOW, BLUE;
void color(color_t c);
void enable_color(bool enable);
#endif /* __MISC_H__ */