Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / mojo / src / nacl_bindings / monacl_sel_main.h
blobd376f649f86583e9d73a59962474b6127b6cc7e0
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.
5 #ifndef MOJO_NACL_MONACL_SEL_MAIN_H_
6 #define MOJO_NACL_MONACL_SEL_MAIN_H_
8 #include "mojo/public/c/system/types.h"
10 struct NaClDesc;
12 namespace mojo {
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);
21 void NaClExit(int code);
23 } // namespace mojo
25 #endif // MOJO_NACL_MONACL_SEL_MAIN_H_