diff options
author | midipix <writeonce@midipix.org> | 2016-07-09 03:13:18 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-07-21 03:47:26 -0400 |
commit | 9cf365c988f71229f6132c60287b272ddfd2f294 (patch) | |
tree | e16014dfba3f130ead13dd366bfa2f19c00a95ea /src/console | |
parent | e9e742b0e892ca72576c745ac389eabb56c978a1 (diff) | |
download | ptycon-9cf365c988f71229f6132c60287b272ddfd2f294.tar.bz2 ptycon-9cf365c988f71229f6132c60287b272ddfd2f294.tar.xz |
debug: ptyc_dbg_cat(): implementation and integration.
Diffstat (limited to 'src/console')
-rw-r--r-- | src/console/ptyc_console_alloc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/console/ptyc_console_alloc.c b/src/console/ptyc_console_alloc.c index 16d1f80..16fb139 100644 --- a/src/console/ptyc_console_alloc.c +++ b/src/console/ptyc_console_alloc.c @@ -19,10 +19,12 @@ int ptyc_console_reader(void *); int ptyc_console_writer(void *);; int ptyc_console_poller(void *); +int ptyc_dbg_cat(struct ptyc_driver_ctx *); int ptyc_dbg_event(void *); int ptyc_dbg_oven(void *); int ptyc_dbg_raw(void *); + struct ptyc_loop_thread_ctx { nt_thread_start_routine * entry; struct ptyc_driver_ctx_impl * ictx; @@ -192,6 +194,9 @@ int ptyc_alloc_console(struct ptyc_driver_ctx * dctx) ictx,ptyc_dbg_raw))) return ptyc_set_status(dctx,status); + if ((status = ptyc_dbg_cat(dctx))) + return ptyc_set_status(dctx,status); + return ptyc_set_status(dctx,NT_STATUS_SUCCESS); } |