summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-07-07 03:53:59 -0400
committermidipix <writeonce@midipix.org>2016-07-21 03:47:25 -0400
commit1bab02981629876bc6059d9ba685b11ebd01374e (patch)
treebb6a6e83daf5432901f5d5a62305bab47f3bb01c /src/internal
parent31bc75f3cde588a8a28c2e3abc9b0bc38cca8baf (diff)
downloadptycon-1bab02981629876bc6059d9ba685b11ebd01374e.tar.bz2
ptycon-1bab02981629876bc6059d9ba685b11ebd01374e.tar.xz
logic: added console initialization and threaded loop allocation.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ptycon_driver_impl.h18
1 files changed, 18 insertions, 0 deletions
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;
};