diff options
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/ntux_driver_impl.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/internal/ntux_driver_impl.h b/src/internal/ntux_driver_impl.h index 0b8ba26..c3c109c 100644 --- a/src/internal/ntux_driver_impl.h +++ b/src/internal/ntux_driver_impl.h @@ -20,6 +20,14 @@ extern const struct argv_option ntux_strace_options[]; extern const struct argv_option ntux_chmod_options[]; extern const struct argv_option ntux_aceit_options[]; extern const struct argv_option ntux_fspath_options[]; +extern const struct argv_option ntux_bridge_options[]; + +/* bridge functionality */ +#define NTUX_EXE_SUFFIX ".exe" +#define NTUX_EXE_SUFFIX_LEN (4) +#define NTUX_MAX_PATH_UTF8 (32768 / 2 * 3) +#define NTUX_MAX_PATH NTUX_MAX_PATH_UTF8 + enum app_tags { TAG_HELP, @@ -43,6 +51,11 @@ enum app_tags { TAG_APATH, TAG_NPATH, TAG_DPATH, + TAG_INTERP, + TAG_SCRIPT, + TAG_OPTARG, + TAG_CWDPATH, + TAG_ABSPATH, }; struct ntux_driver_ctx_impl { @@ -52,6 +65,7 @@ struct ntux_driver_ctx_impl { struct __psx_context xctx; const struct ntux_unit_ctx *euctx; const char * eunit; + char * interp; struct ntux_error_info ** errinfp; struct ntux_error_info ** erricap; struct ntux_error_info * erriptr[64]; |