diff options
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/ptyc_dbg_event.c | 19 | ||||
-rw-r--r-- | src/debug/ptyc_dbg_oven.c | 19 | ||||
-rw-r--r-- | src/debug/ptyc_dbg_raw.c | 19 |
3 files changed, 57 insertions, 0 deletions
diff --git a/src/debug/ptyc_dbg_event.c b/src/debug/ptyc_dbg_event.c new file mode 100644 index 0000000..45cea3e --- /dev/null +++ b/src/debug/ptyc_dbg_event.c @@ -0,0 +1,19 @@ +/*********************************************************/ +/* ptycon: a pty-console bridge */ +/* Copyright (C) 2016 Z. Gilboa */ +/* Released under GPLv2 and GPLv3; see COPYING.PTYCON. */ +/*********************************************************/ + +#include <psxtypes/psxtypes.h> +#include <ntcon/ntcon.h> +#include <ntapi/ntapi.h> +#include <gdi/gdi.h> + +#include <ptycon/ptycon.h> +#include "ptycon_driver_impl.h" + +int ptyc_dbg_event(struct ptyc_driver_ctx_impl * ictx) +{ + (void)ictx; + return ntapi->tt_wait_for_dummy_event(); +} diff --git a/src/debug/ptyc_dbg_oven.c b/src/debug/ptyc_dbg_oven.c new file mode 100644 index 0000000..393076d --- /dev/null +++ b/src/debug/ptyc_dbg_oven.c @@ -0,0 +1,19 @@ +/*********************************************************/ +/* ptycon: a pty-console bridge */ +/* Copyright (C) 2016 Z. Gilboa */ +/* Released under GPLv2 and GPLv3; see COPYING.PTYCON. */ +/*********************************************************/ + +#include <psxtypes/psxtypes.h> +#include <ntcon/ntcon.h> +#include <ntapi/ntapi.h> +#include <gdi/gdi.h> + +#include <ptycon/ptycon.h> +#include "ptycon_driver_impl.h" + +int ptyc_dbg_oven(struct ptyc_driver_ctx_impl * ictx) +{ + (void)ictx; + return ntapi->tt_wait_for_dummy_event(); +} diff --git a/src/debug/ptyc_dbg_raw.c b/src/debug/ptyc_dbg_raw.c new file mode 100644 index 0000000..8804ca6 --- /dev/null +++ b/src/debug/ptyc_dbg_raw.c @@ -0,0 +1,19 @@ +/*********************************************************/ +/* ptycon: a pty-console bridge */ +/* Copyright (C) 2016 Z. Gilboa */ +/* Released under GPLv2 and GPLv3; see COPYING.PTYCON. */ +/*********************************************************/ + +#include <psxtypes/psxtypes.h> +#include <ntcon/ntcon.h> +#include <ntapi/ntapi.h> +#include <gdi/gdi.h> + +#include <ptycon/ptycon.h> +#include "ptycon_driver_impl.h" + +int ptyc_dbg_raw(struct ptyc_driver_ctx_impl * ictx) +{ + (void)ictx; + return ntapi->tt_wait_for_dummy_event(); +} |