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. --- include/ptycon/ptycon.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/ptycon/ptycon.h b/include/ptycon/ptycon.h index 930dd57..633302b 100644 --- a/include/ptycon/ptycon.h +++ b/include/ptycon/ptycon.h @@ -75,6 +75,11 @@ ptyc_api void ptyc_free_driver_ctx (struct ptyc_driver_ctx *); ptyc_api int ptyc_alloc_pty (struct ptyc_driver_ctx *); ptyc_api void ptyc_free_pty (struct ptyc_driver_ctx *); +/* console api */ +ptyc_api int ptyc_alloc_console (struct ptyc_driver_ctx *); +ptyc_api int ptyc_wait_for_console (struct ptyc_driver_ctx *); +ptyc_api void ptyc_free_console (struct ptyc_driver_ctx *); + /* utility api */ ptyc_api int ptyc_main (int, char **, char **); -- cgit v1.2.3