From 7afe31370ef9d95ca652077c98cf225fff66068c Mon Sep 17 00:00:00 2001 From: systemcoder Date: Thu, 26 Mar 2020 20:32:28 +0000 Subject: Feature complete version of project --- H64E-2/h64e.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'H64E-2/h64e.h') diff --git a/H64E-2/h64e.h b/H64E-2/h64e.h index 7871d21..21d334e 100644 --- a/H64E-2/h64e.h +++ b/H64E-2/h64e.h @@ -49,6 +49,7 @@ typedef struct H64E_params int flag_space; /*space between columns **/ int flag_ascii; int flag_hex; /* hex outout */ + int flag_show_offset; } H64E_params; typedef struct H64E_t @@ -86,7 +87,7 @@ typedef struct H64E_format { int column_pos; //position where output stoped int end_pos; //end postion before new line int f_new_line; //should be new line set after - int start_offset; //start position of offset + //int start_offset; //start position of offset int slide_offset; //offset since stream start int state; int t_new_line; // if new line or buffer full @@ -94,7 +95,12 @@ typedef struct H64E_format { int f_ascii; int f_offset; int f_hex; + int f_show_offset; + uint64_t offset_addr; int total_output; + int f_length; + uint64_t length; //size to output + } H64E_format; int h64e_fmt_init( H64E_format *fs); -- cgit v1.2.3