From 1bab02981629876bc6059d9ba685b11ebd01374e Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 7 Jul 2016 03:53:59 -0400 Subject: logic: added console initialization and threaded loop allocation. --- src/internal/ptycon_driver_impl.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/internal/ptycon_driver_impl.h') diff --git a/src/internal/ptycon_driver_impl.h b/src/internal/ptycon_driver_impl.h index c46e146..86336c5 100644 --- a/src/internal/ptycon_driver_impl.h +++ b/src/internal/ptycon_driver_impl.h @@ -26,7 +26,25 @@ enum app_tags { TAG_DEBUG, }; +struct ptyc_term_ctx { + void * hin; + void * hout; +}; + +struct ptyc_loop_ctx { + nt_thread_params treader; + nt_thread_params twriter; + nt_thread_params tpoller; + nt_thread_params tdbgevent; + nt_thread_params tdbgoven; + nt_thread_params tdbgraw; + int32_t ficonic; + int32_t fwinsize; +}; + struct ptyc_driver_ctx_impl { + struct ptyc_term_ctx tctx; + struct ptyc_loop_ctx lctx; struct ptyc_common_ctx cctx; struct ptyc_driver_ctx ctx; }; -- cgit v1.2.3