Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef MOJO_NACL_IRT_MOJO_NONSFI_H_ | 5 #ifndef MOJO_NACL_IRT_MOJO_NONSFI_H_ |
|
Mark Seaborn
2015/10/12 17:18:50
Nit: update this for new location
Sean Klein
2015/10/12 19:10:44
Done.
| |
| 6 #define MOJO_NACL_IRT_MOJO_NONSFI_H_ | 6 #define MOJO_NACL_IRT_MOJO_NONSFI_H_ |
| 7 | 7 |
| 8 #include "mojo/public/c/system/functions.h" | 8 #include "mojo/public/c/system/functions.h" |
| 9 | 9 |
| 10 namespace nacl { | 10 namespace nacl { |
| 11 | 11 |
| 12 // Used to pass handle to application. If uncalled, | 12 // Used to pass handle to application. If uncalled, |
| 13 // the handle defaults to MOJO_HANDLE_INVALID. | 13 // the handle defaults to MOJO_HANDLE_INVALID. |
| 14 void MojoSetInitialHandle(MojoHandle handle); | 14 void MojoSetInitialHandle(MojoHandle handle); |
| 15 | 15 |
| 16 // IRT interface query function which may be passed to nacl_irt_nonsfi_entry. | 16 // IRT interface query function which may be passed to nacl_irt_nonsfi_entry. |
| 17 // Queries for a mojo interface, then for the irt core. | 17 // Queries for a mojo interface, then for the irt core. |
| 18 size_t MojoIrtNonsfiQuery(const char* interface_ident, | 18 size_t MojoIrtNonsfiQuery(const char* interface_ident, |
| 19 void* table, | 19 void* table, |
| 20 size_t tablesize); | 20 size_t tablesize); |
| 21 | 21 |
| 22 } // namespace nacl | 22 } // namespace nacl |
| 23 #endif // MOJO_NACL_IRT_MOJO_NONSFI_H_ | 23 #endif // MOJO_NACL_IRT_MOJO_NONSFI_H_ |
| OLD | NEW |