summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-08-18 04:51:06 -0400
committermidipix <writeonce@midipix.org>2016-08-18 11:18:33 -0400
commit690c8cefb49c228ad88230596485269627ac3141 (patch)
treef0c725b7b46db8dbb115339c102a03cb7ea84da7 /include
parent16c3a668228f843fb995c75dfffe5e291259eae0 (diff)
downloadptycon-690c8cefb49c228ad88230596485269627ac3141.tar.bz2
ptycon-690c8cefb49c228ad88230596485269627ac3141.tar.xz
driver: exit as needed after version printing.
Diffstat (limited to 'include')
-rw-r--r--include/ptycon/ptycon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ptycon/ptycon.h b/include/ptycon/ptycon.h
index 19c2513..d8f2275 100644
--- a/include/ptycon/ptycon.h
+++ b/include/ptycon/ptycon.h
@@ -48,6 +48,10 @@ extern "C" {
#define PTYC_DRIVER_DAEMON_ALWAYS 0x1000
#define PTYC_DRIVER_DAEMON_NEVER 0x2000
+#define PTYC_DRIVER_DBG_MODE (PTYC_DRIVER_DBG_EVENT \
+ | PTYC_DRIVER_DBG_OVEN \
+ | PTYC_DRIVER_DBG_RAW)
+
struct ptyc_source_version {
int major;
int minor;