OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2011 The Chromium 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_UNTRUSTED_PNACL_IRT_SHIM_SHIM_PPAPI_H_ | 7 #ifndef PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_SHIM_PPAPI_H_ |
8 #define NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_SHIM_PPAPI_H_ 1 | 8 #define PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_SHIM_PPAPI_H_ 1 |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 #include "native_client/src/untrusted/irt/irt.h" | 11 #include "native_client/src/untrusted/irt/irt.h" |
12 | 12 |
13 /* | 13 /* |
14 * Remembers the IRT's true interface query function. | 14 * Remembers the IRT's true interface query function. |
15 */ | 15 */ |
16 extern TYPE_nacl_irt_query __pnacl_real_irt_interface; | 16 extern TYPE_nacl_irt_query __pnacl_real_irt_query_func; |
17 | 17 |
18 size_t __pnacl_irt_interface_wrapper(const char *interface_ident, | 18 /* |
19 void *table, size_t tablesize); | 19 * Provides a wrapped query function. |
| 20 */ |
| 21 size_t __pnacl_wrap_irt_query_func(const char *interface_ident, |
| 22 void *table, size_t tablesize); |
20 | 23 |
21 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_SHIM_PPAPI_H_ */ | 24 #endif /* PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_SHIM_PPAPI_H_ */ |
OLD | NEW |