summaryrefslogtreecommitdiffstats
path: root/H64E-2/h64e.h
diff options
context:
space:
mode:
Diffstat (limited to 'H64E-2/h64e.h')
-rw-r--r--H64E-2/h64e.h8
1 files changed, 7 insertions, 1 deletions
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);