diff options
author | systemcoder <systemcoder@protonmail.com> | 2020-03-21 15:57:41 +0000 |
---|---|---|
committer | systemcoder <systemcoder@protonmail.com> | 2020-03-21 15:57:41 +0000 |
commit | b2911a60e257d493b9d5839f40e923f95df3b525 (patch) | |
tree | f3f5862c66196fc1573993886605e701f1edcb44 /H64E-2/h64e.h | |
parent | 6abd917945951cb1971fccdd649ee7f59050813c (diff) | |
download | H64D-2-b2911a60e257d493b9d5839f40e923f95df3b525.tar.gz H64D-2-b2911a60e257d493b9d5839f40e923f95df3b525.zip |
making to work byte, offset, with no space, and hex output in any combination
Diffstat (limited to 'H64E-2/h64e.h')
-rw-r--r-- | H64E-2/h64e.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/H64E-2/h64e.h b/H64E-2/h64e.h index c8a210b..5b2b4c4 100644 --- a/H64E-2/h64e.h +++ b/H64E-2/h64e.h @@ -46,6 +46,7 @@ typedef struct H64E_params uint8_t output_type; /* output in many different ways */ int flag_space; /*space between columns **/ int flag_ascii; + int flag_hex; /* hex outout */ } H64E_params; typedef struct H64E_t @@ -71,6 +72,7 @@ int h64e_destroy(H64E_t *s); #define H64E_FMT_STATE_FINISH 3 typedef struct H64E_format { + int f_output_types; int group_fmt; int output_fmt; int min_input; @@ -87,6 +89,7 @@ typedef struct H64E_format { int f_nw_pos; // if new line then save place where new line is int f_ascii; int f_offset; + int f_hex; int total_output; } H64E_format; |