blob: b06d6d0c61921a775c11c389294721515032bf3b [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MOJO_NACL_IRT_MOJO_NONSFI_H_
#define MOJO_NACL_IRT_MOJO_NONSFI_H_
#include "mojo/public/c/system/functions.h"
namespace nacl {
// Used to pass handle to application. If uncalled,
// the handle defaults to MOJO_HANDLE_INVALID.
void MojoSetInitialHandle(MojoHandle handle);
// IRT interface query function which may be passed to nacl_irt_nonsfi_entry.
// Queries for a mojo interface, then for the irt core.
size_t MojoIrtNonsfiQuery(const char* interface_ident,
void* table,
size_t tablesize);
} // namespace nacl
#endif // MOJO_NACL_IRT_MOJO_NONSFI_H_