From 7deda55512cec1a0f039d816b5d8c7371c3fc308 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 22 May 2018 23:49:56 +0000 Subject: driver: added --cmd={spawn|strace} support, support multiple option sets. --- include/ntux/ntux.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/ntux/ntux.h b/include/ntux/ntux.h index d612e6e..d56e795 100644 --- a/include/ntux/ntux.h +++ b/include/ntux/ntux.h @@ -52,6 +52,8 @@ enum ntux_custom_error { enum ntux_cmd { NTUX_CMD_DEFAULT, NTUX_CMD_STAT, + NTUX_CMD_SPAWN, + NTUX_CMD_STRACE, }; struct ntux_source_version { @@ -78,6 +80,9 @@ struct ntux_common_ctx { uint64_t actflags; uint64_t fmtflags; enum ntux_cmd cmd; + uint32_t state; + char ** sargv; + char ** senvp; }; struct ntux_driver_ctx { -- cgit v1.2.3