Home | History | Annotate | Download | only in pnacl_irt_shim
      1 /*
      2  * Copyright (c) 2011 The Chromium Authors. All rights reserved.
      3  * Use of this source code is governed by a BSD-style license that can be
      4  * found in the LICENSE file.
      5  */
      6 
      7 #ifndef PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_SHIM_PPAPI_H_
      8 #define PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_SHIM_PPAPI_H_ 1
      9 
     10 #include <stddef.h>
     11 #include "native_client/src/untrusted/irt/irt.h"
     12 
     13 /*
     14  * Remembers the IRT's true interface query function.
     15  */
     16 extern TYPE_nacl_irt_query __pnacl_real_irt_query_func;
     17 
     18 /*
     19  * Provides a wrapped query function.
     20  */
     21 size_t __pnacl_wrap_irt_query_func(const char *interface_ident,
     22                                    void *table, size_t tablesize);
     23 
     24 #endif  /* PPAPI_NATIVE_CLIENT_SRC_UNTRUSTED_PNACL_IRT_SHIM_SHIM_PPAPI_H_ */
     25