diff options
Diffstat (limited to 'H64E-2/h64e.h')
-rw-r--r-- | H64E-2/h64e.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/H64E-2/h64e.h b/H64E-2/h64e.h index 5b2b4c4..e1446ee 100644 --- a/H64E-2/h64e.h +++ b/H64E-2/h64e.h @@ -62,6 +62,8 @@ int h64e_init(H64E_t *s); int h64e_check_param( H64E_t *s ); int h64e_set_input(H64E_t *s, H64E_stream_in *sin); int h64e_set_output(H64E_t *s, H64E_stream_out *sout); +int h64e_data_sz(H64E_t *s); +int h64e_space_width(H64E_t *s); int h64e_convert(H64E_t *s); int h64e_destroy(H64E_t *s); @@ -96,10 +98,11 @@ 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_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_align( H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size, int32_t data_sz); int h64e_fmt_finish( H64E_format *fs); +int h64e_fmt_space(H64E_format *fs, uint8_t *out_data, int32_t out_size, int32_t data_sz, int32_t type); +int h64e_fmt_ascii(H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size, int32_t data_sz); +int h64e_fmt_hex(H64E_format *fs, uint8_t *in_data, int32_t in_size, uint8_t *out_data, int32_t out_size, int32_t data_sz); + #endif /* h64e_h */ |