diff options
Diffstat (limited to 'H64E-2/h64e.h')
-rw-r--r-- | H64E-2/h64e.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/H64E-2/h64e.h b/H64E-2/h64e.h index ac47b14..c8a210b 100644 --- a/H64E-2/h64e.h +++ b/H64E-2/h64e.h @@ -42,9 +42,10 @@ typedef struct H64E_params uint8_t column_size; /* size of column to operate with */ int flag_no_group; /* dont output hex values */ uint8_t group; /* if there is need transdorm to specific type */ - int flag_output; /* output convereted types */ + int flag_output_types; /* output convereted types */ uint8_t output_type; /* output in many different ways */ int flag_space; /*space between columns **/ + int flag_ascii; } H64E_params; typedef struct H64E_t @@ -84,14 +85,18 @@ typedef struct H64E_format { int state; int t_new_line; // if new line or buffer full int f_nw_pos; // if new line then save place where new line is + int f_ascii; + int f_offset; + int total_output; } H64E_format; int h64e_fmt_init( H64E_format *fs); int h64e_fmt_byte( H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size); -int h64e_fmt_word( H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size); -int h64e_fmt_dword( H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size); -int h64e_fmt_qword( H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size); +int h64e_fmt_byte_align16( H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size); +int h64e_fmt_word( H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size); +int h64e_fmt_dword( H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size); +int h64e_fmt_qword( H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size); int h64e_fmt_string( H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size); -int h64e_fmt_finish(H64E_format *fs); +int h64e_fmt_finish( H64E_format *fs); #endif /* h64e_h */ |