Home | History | Annotate | Download | only in plugin
      1 /*
      2  * Copyright (c) 2012 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 NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NACL_ENTRY_POINTS_H_
      8 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NACL_ENTRY_POINTS_H_
      9 
     10 #include <stddef.h>
     11 
     12 #include <map>
     13 #include <string>
     14 
     15 #include "native_client/src/shared/imc/nacl_imc_c.h"
     16 #include "ppapi/c/pp_instance.h"
     17 #include "ppapi/c/private/ppb_instance_private.h"
     18 
     19 typedef PP_ExternalPluginResult (*LaunchNaClProcessFunc)(
     20     PP_Instance instance,
     21     const char* alleged_url,
     22     PP_Bool uses_irt,
     23     PP_Bool uses_ppapi,
     24     PP_Bool enable_ppapi_dev,
     25     PP_Bool enable_dyncode_syscalls,
     26     PP_Bool enable_exception_handling,
     27     NaClHandle* result_socket,
     28     struct PP_Var* error_message);
     29 
     30 
     31 extern LaunchNaClProcessFunc launch_nacl_process;
     32 
     33 #endif  // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_NACL_ENTRY_POINTS_H_
     34