Chromium Code Reviews| 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 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_INTERFACES_H_ | 6 #ifndef NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_INTERFACES_H_ |
| 7 #define NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_INTERFACES_H_ | 7 #define NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_INTERFACES_H_ |
| 8 | 8 |
| 9 #include <stddef.h> | 9 #include <stddef.h> |
| 10 | 10 |
| 11 /* controls whether cc shim'ed tables should be used */ | |
| 12 extern int g_use_cc_shim; | |
|
Roland McGrath
2012/08/06 23:32:24
Put this in irt_private.h instead.
Robert Muth (chromium)
2012/08/07 14:45:40
Done.
| |
| 13 | |
| 11 extern size_t nacl_irt_interface(const char *interface_ident, | 14 extern size_t nacl_irt_interface(const char *interface_ident, |
| 12 void *table, size_t tablesize); | 15 void *table, size_t tablesize); |
| 13 | 16 |
| 14 extern const struct nacl_irt_basic nacl_irt_basic; | 17 extern const struct nacl_irt_basic nacl_irt_basic; |
| 15 extern const struct nacl_irt_fdio nacl_irt_fdio; | 18 extern const struct nacl_irt_fdio nacl_irt_fdio; |
| 16 extern const struct nacl_irt_filename nacl_irt_filename; | 19 extern const struct nacl_irt_filename nacl_irt_filename; |
| 17 extern const struct nacl_irt_memory nacl_irt_memory; | 20 extern const struct nacl_irt_memory nacl_irt_memory; |
| 18 extern const struct nacl_irt_dyncode nacl_irt_dyncode; | 21 extern const struct nacl_irt_dyncode nacl_irt_dyncode; |
| 19 extern const struct nacl_irt_thread nacl_irt_thread; | 22 extern const struct nacl_irt_thread nacl_irt_thread; |
| 20 extern const struct nacl_irt_mutex nacl_irt_mutex; | 23 extern const struct nacl_irt_mutex nacl_irt_mutex; |
| 21 extern const struct nacl_irt_cond nacl_irt_cond; | 24 extern const struct nacl_irt_cond nacl_irt_cond; |
| 22 extern const struct nacl_irt_sem nacl_irt_sem; | 25 extern const struct nacl_irt_sem nacl_irt_sem; |
| 23 extern const struct nacl_irt_tls nacl_irt_tls; | 26 extern const struct nacl_irt_tls nacl_irt_tls; |
| 24 extern const struct nacl_irt_blockhook nacl_irt_blockhook; | 27 extern const struct nacl_irt_blockhook nacl_irt_blockhook; |
| 25 extern const struct nacl_irt_ppapihook nacl_irt_ppapihook; | 28 extern const struct nacl_irt_ppapihook nacl_irt_ppapihook; |
| 26 extern const struct nacl_irt_resource_open nacl_irt_resource_open; | 29 extern const struct nacl_irt_resource_open nacl_irt_resource_open; |
| 27 extern const struct nacl_irt_random nacl_irt_random; | 30 extern const struct nacl_irt_random nacl_irt_random; |
| 28 extern const struct nacl_irt_clock nacl_irt_clock; | 31 extern const struct nacl_irt_clock nacl_irt_clock; |
| 29 extern const struct nacl_irt_dev_exception_handling | 32 extern const struct nacl_irt_dev_exception_handling |
| 30 nacl_irt_dev_exception_handling; | 33 nacl_irt_dev_exception_handling; |
| 31 | 34 |
| 32 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_INTERFACES_H_ */ | 35 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_IRT_IRT_INTERFACES_H_ */ |
| OLD | NEW |