summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-27 00:29:01 +0200
committermidipix <writeonce@midipix.org>2018-05-21 01:44:56 -0400
commit6a7c0258ae558172eda31c56c9ed21605d02bec0 (patch)
tree2cf4edd67090ec9414b2b1fbce578315a9ce7d2e /include
parent2404cd8761998d454dd7f0e2e276d2a14970f32a (diff)
downloadntux-6a7c0258ae558172eda31c56c9ed21605d02bec0.tar.bz2
ntux-6a7c0258ae558172eda31c56c9ed21605d02bec0.tar.xz
driver: added --cmd support, added 'stat' as an available command.
Diffstat (limited to 'include')
-rw-r--r--include/ntux/ntux.h6
1 files changed, 6 insertions, 0 deletions
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 {