Index: mojo/nacl/irt_mojo_nonsfi.h |
diff --git a/mojo/nacl/irt_mojo_nonsfi.h b/mojo/nacl/irt_mojo_nonsfi.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6648b08030441de5dc13b1ced6ebbb08958f9f62 |
--- /dev/null |
+++ b/mojo/nacl/irt_mojo_nonsfi.h |
@@ -0,0 +1,23 @@ |
+// 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_IRT_MOJO_NONSFI_H_ |
+#define MOJO_NACL_IRT_MOJO_NONSFI_H_ |
+ |
+#include "mojo/public/c/system/functions.h" |
+ |
+namespace irtNonsfi { |
Mark Seaborn
2015/09/02 23:07:09
Nit: namespace names should be all lower-case -- h
|
+ |
+// Used to pass handle to application. If uncalled, |
+// the handle defaults to MOJO_HANDLE_INVALID. |
+void MojoSetInitialHandle(MojoHandle handle); |
+ |
+// IRT interface query function which may be passed to nacl_irt_nonsfi_entry. |
+// Queries for a mojo interface, then for the irt core. |
+size_t MojoIrtNonsfiQuery(const char* interface_ident, |
+ void* table, |
+ size_t tablesize); |
+ |
+} // namespace |
+#endif // MOJO_NACL_IRT_MOJO_NONSFI_H_ |