From b824c9188a7636b0f8b483ac1ade79885610cca1 Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 24 Oct 2022 01:33:09 +0000 Subject: ntux_cmd_bridge(): initial implementation and integration. --- include/ntux/ntux.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 *); -- cgit v1.2.3