From 116186a5e53807773a1caa7639d28adcd4da0e92 Mon Sep 17 00:00:00 2001 From: Steve Underwood Date: Sun, 26 Aug 2012 20:28:48 +0800 Subject: [PATCH] More tweaks --- libs/spandsp/src/t85_decode.c | 6 ++++++ libs/spandsp/src/t85_encode.c | 6 ++++++ 2 files changed, 12 insertions(+) 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,