From b2911a60e257d493b9d5839f40e923f95df3b525 Mon Sep 17 00:00:00 2001 From: systemcoder Date: Sat, 21 Mar 2020 15:57:41 +0000 Subject: making to work byte, offset, with no space, and hex output in any combination --- H64E-2/h64e.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'H64E-2/h64e.h') 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; -- cgit v1.2.3