summaryrefslogtreecommitdiff
path: root/H64E-2/h64e-model.h
diff options
context:
space:
mode:
Diffstat (limited to 'H64E-2/h64e-model.h')
-rw-r--r--H64E-2/h64e-model.h13
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 */