From 6a7c0258ae558172eda31c56c9ed21605d02bec0 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 27 Dec 2016 00:29:01 +0200 Subject: driver: added --cmd support, added 'stat' as an available command. --- include/ntux/ntux.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/ntux/ntux.h b/include/ntux/ntux.h index 896f301..7e9ca52 100644 --- a/include/ntux/ntux.h +++ b/include/ntux/ntux.h @@ -32,6 +32,11 @@ extern "C" { #define NTUX_DRIVER_VERSION 0x0010 #define NTUX_DRIVER_DRY_RUN 0x0020 +enum ntux_cmd { + NTUX_CMD_DEFAULT, + NTUX_CMD_STAT, +}; + struct ntux_source_version { int major; int minor; @@ -55,6 +60,7 @@ struct ntux_common_ctx { uint64_t drvflags; uint64_t actflags; uint64_t fmtflags; + enum ntux_cmd cmd; }; struct ntux_driver_ctx { -- cgit v1.2.3