Index: src/trusted/service_runtime/sel_main_chrome.h |
diff --git a/src/trusted/service_runtime/sel_main_chrome.h b/src/trusted/service_runtime/sel_main_chrome.h |
index 043575cf72ac82a7cdc6bfce5ad0340cae034e15..a280bb356f4ef9be799a4fb381773bd23a19dca1 100644 |
--- a/src/trusted/service_runtime/sel_main_chrome.h |
+++ b/src/trusted/service_runtime/sel_main_chrome.h |
@@ -10,6 +10,7 @@ |
#include "native_client/src/include/nacl_base.h" |
#include "native_client/src/include/portability.h" |
#include "native_client/src/shared/imc/nacl_imc_c.h" |
+#include "native_client/src/trusted/service_runtime/nacl_error_code.h" |
EXTERN_C_BEGIN |
@@ -151,6 +152,14 @@ struct NaClChromeMainArgs { |
/* Create a new args struct containing default values. */ |
struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void); |
+struct NaClApp *NaClChromeMainCreateApp(struct NaClChromeMainArgs *args); |
+ |
+/* Load the NaCl module referred to by nexe_desc. */ |
+NaClErrorCode NaClChromeMainLoadModule(struct NaClApp *nap, |
+ struct NaClDesc *nexe_desc); |
+ |
+/* Load the IRT and start the NaCl module. */ |
+void NaClChromeMainStartModule(struct NaClApp *nap, int irt_fd); |
/* Launch NaCl. */ |
void NaClChromeMainStart(struct NaClChromeMainArgs *args); |