pub unsafe extern "C" fn WasmEdge_ModuleInstanceInitWasmEdgeProcess(
    AllowedCmds: *const *const c_char,
    CmdsLen: u32,
    AllowAll: bool
)
Expand description

Initialize the WasmEdge_ModuleInstanceContext for the wasmedge_process specification.

This function will initialize the wasmedge_process host module with the parameters.

\param AllowedCmds the allowed commands white list. NULL if the length is 0. \param CmdsLen the length of the allowed commands white list. \param AllowAll the boolean value to allow all commands. false is suggested. If this value is true, the allowed commands white list will not be recorded and all commands can be executed by wasmedge_process.