diff --git a/libs/spandsp/src/t85_decode.c b/libs/spandsp/src/t85_decode.c index fc32cccb0f..8193c10a0d 100644 --- a/libs/spandsp/src/t85_decode.c +++ b/libs/spandsp/src/t85_decode.c @@ -799,6 +799,12 @@ SPAN_DECLARE(int) t85_decode_restart(t85_decode_state_t *s) } /*- End of function --------------------------------------------------------*/ +SPAN_DECLARE(logging_state_t *) t85_decode_get_logging_state(t85_decode_state_t *s) +{ + return &s->logging; +} +/*- End of function --------------------------------------------------------*/ + SPAN_DECLARE(t85_decode_state_t *) t85_decode_init(t85_decode_state_t *s, t4_row_write_handler_t handler, void *user_data) diff --git a/libs/spandsp/src/t85_encode.c b/libs/spandsp/src/t85_encode.c index 062f7b685b..d9c4d200e2 100644 --- a/libs/spandsp/src/t85_encode.c +++ b/libs/spandsp/src/t85_encode.c @@ -675,6 +675,12 @@ SPAN_DECLARE(int) t85_encode_restart(t85_encode_state_t *s, uint32_t image_width } /*- End of function --------------------------------------------------------*/ +SPAN_DECLARE(logging_state_t *) t85_encode_get_logging_state(t85_encode_state_t *s) +{ + return &s->logging; +} +/*- End of function --------------------------------------------------------*/ + SPAN_DECLARE(t85_encode_state_t *) t85_encode_init(t85_encode_state_t *s, uint32_t image_width, uint32_t image_length,