| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_ | 5 #ifndef COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_ |
| 6 #define COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_ | 6 #define COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "native_client/src/untrusted/irt/irt.h" | 9 #include "native_client/src/untrusted/irt/irt.h" |
| 10 | 10 |
| 11 namespace nacl { | 11 namespace nacl { |
| 12 namespace nonsfi { | 12 namespace nonsfi { |
| 13 | 13 |
| 14 size_t NaClIrtInterface(const char* interface_ident, | 14 size_t NaClIrtInterface(const char* interface_ident, |
| 15 void* table, size_t tablesize); | 15 void* table, size_t tablesize); |
| 16 | 16 |
| 17 extern const struct nacl_irt_basic kIrtBasic; | 17 extern const struct nacl_irt_basic kIrtBasic; |
| 18 extern const struct nacl_irt_fdio kIrtFdIO; | 18 extern const struct nacl_irt_fdio kIrtFdIO; |
| 19 extern const struct nacl_irt_thread kIrtThread; |
| 20 extern const struct nacl_irt_tls kIrtTls; |
| 19 | 21 |
| 20 } // namespace nonsfi | 22 } // namespace nonsfi |
| 21 } // namespace nacl | 23 } // namespace nacl |
| 22 | 24 |
| 23 #endif // COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_ | 25 #endif // COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_ |
| OLD | NEW |