OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. | 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_ | 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_ |
8 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_ 1 | 8 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_ 1 |
9 | 9 |
10 #include "native_client/src/include/nacl_base.h" | 10 #include "native_client/src/include/nacl_base.h" |
11 #include "native_client/src/shared/imc/nacl_imc_c.h" | 11 #include "native_client/src/shared/imc/nacl_imc_c.h" |
12 | 12 |
13 EXTERN_C_BEGIN | 13 EXTERN_C_BEGIN |
14 | 14 |
| 15 struct NaClValidationCache; |
| 16 |
15 /* | 17 /* |
16 * Register the integrated runtime (IRT) library file for use by | 18 * Register the integrated runtime (IRT) library file for use by |
17 * NaClMainForChromium(). This takes a file descriptor, even on | 19 * NaClMainForChromium(). This takes a file descriptor, even on |
18 * Windows (where file descriptors are emulated by the C runtime | 20 * Windows (where file descriptors are emulated by the C runtime |
19 * library). | 21 * library). |
20 */ | 22 */ |
21 void NaClSetIrtFileDesc(int fd); | 23 void NaClSetIrtFileDesc(int fd); |
22 | 24 |
| 25 void NaClSetValidationCache(struct NaClValidationCache *cache); |
| 26 |
23 void NaClMainForChromium(int handle_count, const NaClHandle *handles, | 27 void NaClMainForChromium(int handle_count, const NaClHandle *handles, |
24 int debug); | 28 int debug); |
25 | 29 |
26 EXTERN_C_END | 30 EXTERN_C_END |
27 | 31 |
28 #endif | 32 #endif |
OLD | NEW |