15d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved.
25d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
35d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// found in the LICENSE file.
45d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
55d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#ifndef COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_
65d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_
75d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
85d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#include "base/basictypes.h"
95d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#include "native_client/src/untrusted/irt/irt.h"
10010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)#include "ppapi/nacl_irt/public/irt_nonsfi.h"
11c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch#include "ppapi/nacl_irt/public/irt_ppapi.h"
125d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)namespace nacl {
145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)namespace nonsfi {
155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
165d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)size_t NaClIrtInterface(const char* interface_ident,
175d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)                        void* table, size_t tablesize);
185d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
195d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_basic kIrtBasic;
205d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_fdio kIrtFdIO;
215d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_memory kIrtMemory;
225d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_thread kIrtThread;
235d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_futex kIrtFutex;
245d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_tls kIrtTls;
255d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_clock kIrtClock;
26a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)extern const struct nacl_irt_ppapihook kIrtPpapiHook;
27010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)extern const struct nacl_irt_resource_open kIrtResourceOpen;
28c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochextern const struct nacl_irt_random kIrtRandom;
295c02ac1a9c1b504631c0a3d2b6e737b5d738bae1Bo Liuextern const struct nacl_irt_exception_handling kIrtExceptionHandling;
30010d83a9304c5a91596085d917d248abff47903aTorne (Richard Coles)extern const struct nacl_irt_icache kIrtIcache;
315d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
325d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)}  // namespace nonsfi
335d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)}  // namespace nacl
345d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)
355d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#endif  // COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_
36