irt_interfaces.h revision c5cede9ae108bb15f6b7a8aea21c7e1fefa2834c
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" 10c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdoch#include "ppapi/nacl_irt/public/irt_ppapi.h" 115d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 125d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)namespace nacl { 135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)namespace nonsfi { 145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)size_t NaClIrtInterface(const char* interface_ident, 165d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) void* table, size_t tablesize); 175d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 185d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_basic kIrtBasic; 195d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_fdio kIrtFdIO; 205d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_memory kIrtMemory; 215d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_thread kIrtThread; 225d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_futex kIrtFutex; 235d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_tls kIrtTls; 245d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const struct nacl_irt_clock kIrtClock; 25a1401311d1ab56c4ed0a474bd38c108f75cb0cd9Torne (Richard Coles)extern const struct nacl_irt_ppapihook kIrtPpapiHook; 26c5cede9ae108bb15f6b7a8aea21c7e1fefa2834cBen Murdochextern const struct nacl_irt_random kIrtRandom; 275d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 285d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)} // namespace nonsfi 295d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)} // namespace nacl 305d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 315d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#endif // COMPONENTS_NACL_LOADER_NONSFI_IRT_INTERFACES_H_ 32