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.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'H64E-2/h64e.c') diff --git a/H64E-2/h64e.c b/H64E-2/h64e.c index ddcfc5c..0072030 100644 --- a/H64E-2/h64e.c +++ b/H64E-2/h64e.c @@ -10,20 +10,32 @@ int h64e_init(H64E_t *s) { + printf("init structure\n"); + s->fmt.column_size = 16; + s->fmt.offset_addr = 0; + s->fmt.flag_offset = 0; + s->fmt.flag_no_group = 0; + s->fmt.group = H64E_G_BYTE; + s->fmt.flag_output = 0; + s->fmt.output_type = H64E_O_NONE; + + s->sin = NULL; + s->sout = NULL; return 0; } int h64e_check_param( H64E_t *fmt ) { + printf("Check parametrs set\n"); return 0; } -int h64e_set_input(H64E_t *s) +int h64e_set_input(H64E_t *s, H64E_stream_in *sin) { return 0; } -int h64e_set_output(H64E_t *s) +int h64e_set_output(H64E_t *s, H64E_stream_out *sout) { return 0; } -- cgit v1.2.3