diff options
Diffstat (limited to 'H64E-2/h64e.h')
-rw-r--r-- | H64E-2/h64e.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/H64E-2/h64e.h b/H64E-2/h64e.h index d8a95cd..ac47b14 100644 --- a/H64E-2/h64e.h +++ b/H64E-2/h64e.h @@ -10,6 +10,7 @@ #define h64e_h #include <stdio.h> +#include <ctype.h> #include "h64e-model.h" /* Set data structure from arguments and use to handle data @@ -43,6 +44,7 @@ typedef struct H64E_params uint8_t group; /* if there is need transdorm to specific type */ int flag_output; /* output convereted types */ uint8_t output_type; /* output in many different ways */ + int flag_space; /*space between columns **/ } H64E_params; typedef struct H64E_t @@ -74,9 +76,9 @@ typedef struct H64E_format { int max_output; int column_size; int f_space; - int cur_pos; //position where output stoped + 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 f_new_line; //should be new line set after int start_offset; //start position of offset int slide_offset; //offset since stream start int state; @@ -86,6 +88,10 @@ typedef struct 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_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); #endif /* h64e_h */ |