Index: mojo/nacl/nexe_launcher_nonsfi.h |
diff --git a/mojo/nacl/nexe_launcher_nonsfi.h b/mojo/nacl/nexe_launcher_nonsfi.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..43e697a198379aa06537da835720503bed9a4eb4 |
--- /dev/null |
+++ b/mojo/nacl/nexe_launcher_nonsfi.h |
@@ -0,0 +1,18 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef MOJO_NACL_NEXE_LAUNCHER_NONSFI_H_ |
+#define MOJO_NACL_NEXE_LAUNCHER_NONSFI_H_ |
+ |
+#include "mojo/public/c/system/types.h" |
+#include "native_client/src/public/irt_core.h" |
+#include "native_client/src/public/nonsfi/elf_loader.h" |
+ |
+/** |
+ * Takes a fd to a nexe, and launches the nexe with the given |
+ * MojoHandle. |
+ */ |
+void launch_nexe_nonsfi(int fd, MojoHandle handle); |
Petr Hosek
2015/10/01 23:03:57
Since this is C++, shouldn't this live in nacl nam
Sean Klein
2015/10/01 23:24:05
Done.
|
+ |
+#endif // MOJO_NACL_NEXE_LAUNCHER_NONSFI_H_ |
Petr Hosek
2015/10/01 23:03:57
Two spaces between `endif` and `//` (it's weird bu
Sean Klein
2015/10/01 23:24:05
Done.
|