diff options
author | midipix <writeonce@midipix.org> | 2016-07-07 03:53:59 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-07-21 03:47:25 -0400 |
commit | 1bab02981629876bc6059d9ba685b11ebd01374e (patch) | |
tree | bb6a6e83daf5432901f5d5a62305bab47f3bb01c /include | |
parent | 31bc75f3cde588a8a28c2e3abc9b0bc38cca8baf (diff) | |
download | ptycon-1bab02981629876bc6059d9ba685b11ebd01374e.tar.bz2 ptycon-1bab02981629876bc6059d9ba685b11ebd01374e.tar.xz |
logic: added console initialization and threaded loop allocation.
Diffstat (limited to 'include')
-rw-r--r-- | include/ptycon/ptycon.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 **); |