diff options
author | systemcoder <systemcoder@protonmail.com> | 2020-03-14 00:13:46 +0000 |
---|---|---|
committer | systemcoder <systemcoder@protonmail.com> | 2020-03-14 00:13:46 +0000 |
commit | 0184655779b6e72449db0b711ee591b6cd991652 (patch) | |
tree | b742aee43fb7b3303048d29a4b4e9475b6e6669f /H64E-2/h64e-model.h | |
parent | edc949143c3e0a93c3868f0bbcc884fe721f4e92 (diff) | |
download | H64D-2-0184655779b6e72449db0b711ee591b6cd991652.tar.gz H64D-2-0184655779b6e72449db0b711ee591b6cd991652.zip |
Streaming code is written
Diffstat (limited to 'H64E-2/h64e-model.h')
-rw-r--r-- | H64E-2/h64e-model.h | 13 |
1 files changed, 7 insertions, 6 deletions
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 <stdio.h> +#include <string.h> 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 */ |