OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2011 The Native Client 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_SHARED_PPAPI_PROXY_PPRUNTIME_H_ |
| 8 #define NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_ |
| 9 |
| 10 #include "native_client/src/include/portability.h" |
| 11 #include "native_client/src/untrusted/irt/irt_ppapi.h" |
| 12 |
| 13 EXTERN_C_BEGIN |
| 14 |
| 15 // Initialize srpc connection to the browser. Some APIs like manifest file |
| 16 // opening do not need full ppapi initialization and so can be used after |
| 17 // this function returns. |
| 18 int IrtInit(); |
| 19 |
| 20 // The entry point for the main thread of the PPAPI plugin process. |
| 21 int PpapiPluginMain(); |
| 22 |
| 23 void PpapiPluginRegisterThreadCreator( |
| 24 const struct PP_ThreadFunctions* new_funcs); |
| 25 |
| 26 void PpapiPluginRegisterDefaultThreadCreator(); |
| 27 |
| 28 EXTERN_C_END |
| 29 |
| 30 #endif // NATIVE_CLIENT_SRC_SHARED_PPAPI_PROXY_PPRUNTIME_H_ |
OLD | NEW |