From 7a0b562760299dde7d4a07c430c7c47b67a8e5e7 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 25 Oct 2016 22:09:44 -0400 Subject: driver: added initial error info vector and buffer allocation. --- src/internal/sofort_driver_impl.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/internal') diff --git a/src/internal/sofort_driver_impl.h b/src/internal/sofort_driver_impl.h index 5ee4952..0808b55 100644 --- a/src/internal/sofort_driver_impl.h +++ b/src/internal/sofort_driver_impl.h @@ -18,8 +18,14 @@ enum app_tags { }; struct sfrt_driver_ctx_impl { - struct sfrt_common_ctx cctx; - struct sfrt_driver_ctx ctx; + struct sfrt_common_ctx cctx; + struct sfrt_driver_ctx ctx; + const struct sfrt_unit_ctx * euctx; + const char * eunit; + struct sfrt_error_info ** errinfp; + struct sfrt_error_info ** erricap; + struct sfrt_error_info * erriptr[64]; + struct sfrt_error_info erribuf[64]; }; struct sfrt_unit_ctx_impl { -- cgit v1.2.3