OLD | NEW |
| (Empty) |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef MOJO_NACL_MONACL_SEL_MAIN_H_ | |
6 #define MOJO_NACL_MONACL_SEL_MAIN_H_ | |
7 | |
8 #include "mojo/public/c/system/types.h" | |
9 | |
10 struct NaClDesc; | |
11 | |
12 namespace mojo { | |
13 | |
14 // Callee assumes ownership of |nexe_desc|, |irt_desc|, and |handle|. | |
15 int LaunchNaCl(NaClDesc* nexe_desc, | |
16 NaClDesc* irt_desc, | |
17 int app_argc, | |
18 char* app_argv[], | |
19 MojoHandle handle); | |
20 | |
21 void NaClExit(int code); | |
22 | |
23 } // namespace mojo | |
24 | |
25 #endif // MOJO_NACL_MONACL_SEL_MAIN_H_ | |
OLD | NEW |