diff options
author | midipix <writeonce@midipix.org> | 2018-05-22 23:49:56 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-05-22 23:49:12 -0400 |
commit | 7deda55512cec1a0f039d816b5d8c7371c3fc308 (patch) | |
tree | 450952bb511841cd87307180a6e71d8ce2c4047b /include | |
parent | db57dda7109c9ae4cace41fbb4b38e22287873a4 (diff) | |
download | ntux-7deda55512cec1a0f039d816b5d8c7371c3fc308.tar.bz2 ntux-7deda55512cec1a0f039d816b5d8c7371c3fc308.tar.xz |
driver: added --cmd={spawn|strace} support, support multiple option sets.
Diffstat (limited to 'include')
-rw-r--r-- | include/ntux/ntux.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 { |