From 0184655779b6e72449db0b711ee591b6cd991652 Mon Sep 17 00:00:00 2001 From: systemcoder Date: Sat, 14 Mar 2020 00:13:46 +0000 Subject: Streaming code is written --- H64E-2/h64e-model.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'H64E-2/h64e-model.h') diff --git a/H64E-2/h64e-model.h b/H64E-2/h64e-model.h index 41c4a4a..516f8dc 100644 --- a/H64E-2/h64e-model.h +++ b/H64E-2/h64e-model.h @@ -10,6 +10,7 @@ #define h64e_model_h #include +#include typedef int (*trnf_clb)(char*); @@ -20,9 +21,9 @@ typedef struct H64E_stream_in { } H64E_stream_in; //used to get collected data -int H64E_si_init(H64E_stream_in *in, ssize_t size); -int H64E_si_data_in(H64E_stream_in *in, uint8_t *data, size_t size); -int H64E_si_data_out(H64E_stream_in *in, const uint8_t *data, size_t size); +int h64e_si_init(H64E_stream_in *in, ssize_t size); +int h64e_si_data_in(H64E_stream_in *in, uint8_t *data, size_t size); +int h64e_si_data_out(H64E_stream_in *in, uint8_t *data, size_t size); typedef struct H64E_stream_out { int cur_size; @@ -31,8 +32,8 @@ typedef struct H64E_stream_out { } H64E_stream_out; //using to collect output formated data -int H64E_so_init(H64E_stream_out *out, ssize_t size); -int H64E_so_data_in(H64E_stream_in *out, uint8_t *data, size_t size); -int H64E_so_data_out(H64E_stream_in *out, const uint8_t *data, size_t size); +int h64e_so_init(H64E_stream_out *out, ssize_t size); +int h64e_so_data_in(H64E_stream_in *out, uint8_t *data, size_t size); +int h64e_so_data_out(H64E_stream_in *out, uint8_t *data, size_t size); #endif /* h64e_model_h */ -- cgit v1.2.3