Connect PPAPI IPC channels for non-SFI mode.
[chromium-blink-merge.git] / components / nacl / loader / nonsfi / irt_interfaces.h
bloba2bf468cf8421c044240bdfa26e8d3f4cbdb16eb
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 COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_
6 #define COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_
8 #include "base/basictypes.h"
9 #include "native_client/src/untrusted/irt/irt.h"
11 namespace nacl {
12 namespace nonsfi {
14 size_t NaClIrtInterface(const char* interface_ident,
15 void* table, size_t tablesize);
17 extern const struct nacl_irt_basic kIrtBasic;
18 extern const struct nacl_irt_fdio kIrtFdIO;
19 extern const struct nacl_irt_memory kIrtMemory;
20 extern const struct nacl_irt_thread kIrtThread;
21 extern const struct nacl_irt_futex kIrtFutex;
22 extern const struct nacl_irt_tls kIrtTls;
23 extern const struct nacl_irt_clock kIrtClock;
24 extern const struct nacl_irt_ppapihook kIrtPpapiHook;
26 } // namespace nonsfi
27 } // namespace nacl
29 #endif // COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_