diff options
author | midipix <writeonce@midipix.org> | 2022-10-24 01:33:09 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2022-10-30 16:24:17 +0000 |
commit | b824c9188a7636b0f8b483ac1ade79885610cca1 (patch) | |
tree | 85f91fbac5cfad0bd7b742ee8a2b727bdfe9d7ac /include | |
parent | 6dc70d02aa1767532f0339e7e335d544edced1c8 (diff) | |
download | ntux-b824c9188a7636b0f8b483ac1ade79885610cca1.tar.bz2 ntux-b824c9188a7636b0f8b483ac1ade79885610cca1.tar.xz |
ntux_cmd_bridge(): initial implementation and integration.
Diffstat (limited to 'include')
-rw-r--r-- | include/ntux/ntux.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ntux/ntux.h b/include/ntux/ntux.h index c7b0078..c29ffa7 100644 --- a/include/ntux/ntux.h +++ b/include/ntux/ntux.h @@ -72,6 +72,7 @@ enum ntux_cmd { NTUX_CMD_CHMOD, NTUX_CMD_ACEIT, NTUX_CMD_FSPATH, + NTUX_CMD_BRIDGE, NTUX_CMD_CAP, }; @@ -117,6 +118,8 @@ struct ntux_common_ctx { const char * strmode; const char * owner; const char * group; + const char * interp; + const char * optarg; uint32_t sysmask[16]; uint32_t dbgmask[16]; uint32_t osmask [32]; @@ -153,6 +156,7 @@ ntux_api int ntux_cmd_fspath (const struct ntux_driver_ctx *, const c ntux_api int ntux_cmd_stat (const struct ntux_driver_ctx *, const char *); ntux_api int ntux_cmd_spawn (const struct ntux_driver_ctx *); ntux_api int ntux_cmd_strace (const struct ntux_driver_ctx *); +ntux_api int ntux_cmd_bridge (const struct ntux_driver_ctx *); /* utility api */ ntux_api int ntux_main (char **, char **, const struct ntux_fd_ctx *); |