Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppp_broker.h
Go to the documentation of this file.
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved.
2  * Use of this source code is governed by a BSD-style license that can be
3  * found in the LICENSE file.
4  */
5 
6 /* From trusted/ppp_broker.idl modified Sat Jul 16 16:51:03 2011. */
7 
8 #ifndef PPAPI_C_TRUSTED_PPP_BROKER_H_
9 #define PPAPI_C_TRUSTED_PPP_BROKER_H_
10 
11 #include "ppapi/c/pp_macros.h"
12 
20 // {PENDING: undefine PP_EXPORT?}
21 
22 #include "ppapi/c/pp_instance.h"
23 #include "ppapi/c/pp_stdint.h"
24 
25 
26 #if __GNUC__ >= 4
27 
28 #define PP_EXPORT __attribute__ ((visibility("default")))
29 #elif defined(_MSC_VER)
30 #define PP_EXPORT __declspec(dllexport)
31 #endif
32 
33 
34 
35 /* We don't want name mangling for these external functions. We only need
36  * 'extern "C"' if we're compiling with a C++ compiler.
37  */
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
57 typedef int32_t (*PP_ConnectInstance_Func)(PP_Instance instance,
58  int32_t handle);
79 PP_EXPORT int32_t PPP_InitializeBroker(
80  PP_ConnectInstance_Func* connect_instance_func);
92 PP_EXPORT void PPP_ShutdownBroker();
97 #ifdef __cplusplus
98 } /* extern "C" */
99 #endif
100 
101 #endif /* PPAPI_C_TRUSTED_PPP_BROKER_H_ */
102 
int32_t(* PP_ConnectInstance_Func)(PP_Instance instance, int32_t handle)
Definition: ppp_broker.h:57
PP_EXPORT void PPP_ShutdownBroker()
int32_t PP_Instance
Definition: pp_instance.h:34
PP_EXPORT int32_t PPP_InitializeBroker(PP_ConnectInstance_Func *connect_instance_func)