| OLD | NEW |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 /* NOTE: this is auto-generated from IDL */ | 6 /* NOTE: this is auto-generated from IDL */ |
| 7 #include "ppapi/generators/pnacl_shim.h" | 7 #include "ppapi/generators/pnacl_shim.h" |
| 8 | 8 |
| 9 #include "ppapi/c/ppb.h" | 9 #include "ppapi/c/ppb.h" |
| 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 #include "ppapi/c/dev/ppb_zoom_dev.h" | 36 #include "ppapi/c/dev/ppb_zoom_dev.h" |
| 37 #include "ppapi/c/dev/ppp_network_state_dev.h" | 37 #include "ppapi/c/dev/ppp_network_state_dev.h" |
| 38 #include "ppapi/c/dev/ppp_printing_dev.h" | 38 #include "ppapi/c/dev/ppp_printing_dev.h" |
| 39 #include "ppapi/c/dev/ppp_scrollbar_dev.h" | 39 #include "ppapi/c/dev/ppp_scrollbar_dev.h" |
| 40 #include "ppapi/c/dev/ppp_selection_dev.h" | 40 #include "ppapi/c/dev/ppp_selection_dev.h" |
| 41 #include "ppapi/c/dev/ppp_text_input_dev.h" | 41 #include "ppapi/c/dev/ppp_text_input_dev.h" |
| 42 #include "ppapi/c/dev/ppp_video_capture_dev.h" | 42 #include "ppapi/c/dev/ppp_video_capture_dev.h" |
| 43 #include "ppapi/c/dev/ppp_video_decoder_dev.h" | 43 #include "ppapi/c/dev/ppp_video_decoder_dev.h" |
| 44 #include "ppapi/c/dev/ppp_widget_dev.h" | 44 #include "ppapi/c/dev/ppp_widget_dev.h" |
| 45 #include "ppapi/c/dev/ppp_zoom_dev.h" | 45 #include "ppapi/c/dev/ppp_zoom_dev.h" |
| 46 #include "ppapi/c/extensions/dev/ppb_ext_alarms_dev.h" | |
| 47 #include "ppapi/c/extensions/dev/ppb_ext_events_dev.h" | |
| 48 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" | 46 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" |
| 49 #include "ppapi/c/ppb_audio.h" | 47 #include "ppapi/c/ppb_audio.h" |
| 50 #include "ppapi/c/ppb_audio_config.h" | 48 #include "ppapi/c/ppb_audio_config.h" |
| 51 #include "ppapi/c/ppb_console.h" | 49 #include "ppapi/c/ppb_console.h" |
| 52 #include "ppapi/c/ppb_core.h" | 50 #include "ppapi/c/ppb_core.h" |
| 53 #include "ppapi/c/ppb_file_io.h" | 51 #include "ppapi/c/ppb_file_io.h" |
| 54 #include "ppapi/c/ppb_file_ref.h" | 52 #include "ppapi/c/ppb_file_ref.h" |
| 55 #include "ppapi/c/ppb_file_system.h" | 53 #include "ppapi/c/ppb_file_system.h" |
| 56 #include "ppapi/c/ppb_fullscreen.h" | 54 #include "ppapi/c/ppb_fullscreen.h" |
| 57 #include "ppapi/c/ppb_gamepad.h" | 55 #include "ppapi/c/ppb_gamepad.h" |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; | 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; |
| 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; | 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; |
| 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; | 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; |
| 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; | 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; |
| 233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1; | 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1; |
| 234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_
0_1; | 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_
0_1; |
| 235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; | 233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; |
| 236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1; | 234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0
_1; |
| 237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_8; | 235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_
0_8; |
| 238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; | 236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; |
| 239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1; | |
| 240 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1; | |
| 241 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1; | 237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1; |
| 242 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2; | 238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2; |
| 243 /* END Declarations for all Wrapper Infos. */ | 239 /* END Declarations for all Wrapper Infos. */ |
| 244 | 240 |
| 245 /* Not generating wrapper methods for PPB_Audio_1_0 */ | 241 /* Not generating wrapper methods for PPB_Audio_1_0 */ |
| 246 | 242 |
| 247 /* Not generating wrapper methods for PPB_Audio_1_1 */ | 243 /* Not generating wrapper methods for PPB_Audio_1_1 */ |
| 248 | 244 |
| 249 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ | 245 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ |
| 250 | 246 |
| (...skipping 3654 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3905 const struct PPP_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_Instance_
Private_0_1.real_iface; | 3901 const struct PPP_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_Instance_
Private_0_1.real_iface; |
| 3906 void (*temp_fp)(struct PP_Var* _struct_result, PP_Instance instance) = | 3902 void (*temp_fp)(struct PP_Var* _struct_result, PP_Instance instance) = |
| 3907 ((void (*)(struct PP_Var* _struct_result, PP_Instance instance))iface->GetIn
stanceObject); | 3903 ((void (*)(struct PP_Var* _struct_result, PP_Instance instance))iface->GetIn
stanceObject); |
| 3908 struct PP_Var _struct_result; | 3904 struct PP_Var _struct_result; |
| 3909 temp_fp(&_struct_result, instance); | 3905 temp_fp(&_struct_result, instance); |
| 3910 return _struct_result; | 3906 return _struct_result; |
| 3911 } | 3907 } |
| 3912 | 3908 |
| 3913 /* End wrapper methods for PPP_Instance_Private_0_1 */ | 3909 /* End wrapper methods for PPP_Instance_Private_0_1 */ |
| 3914 | 3910 |
| 3915 /* Begin wrapper methods for PPB_Ext_Alarms_Dev_0_1 */ | |
| 3916 | |
| 3917 static void Pnacl_M27_PPB_Ext_Alarms_Dev_Create(PP_Instance instance, struct PP_
Var* name, PP_Ext_Alarms_AlarmCreateInfo_Dev alarm_info) { | |
| 3918 const struct PPB_Ext_Alarms_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Alarms_
Dev_0_1.real_iface; | |
| 3919 iface->Create(instance, *name, alarm_info); | |
| 3920 } | |
| 3921 | |
| 3922 static int32_t Pnacl_M27_PPB_Ext_Alarms_Dev_Get(PP_Instance instance, struct PP_
Var* name, PP_Ext_Alarms_Alarm_Dev* alarm, struct PP_CompletionCallback* callbac
k) { | |
| 3923 const struct PPB_Ext_Alarms_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Alarms_
Dev_0_1.real_iface; | |
| 3924 return iface->Get(instance, *name, alarm, *callback); | |
| 3925 } | |
| 3926 | |
| 3927 static int32_t Pnacl_M27_PPB_Ext_Alarms_Dev_GetAll(PP_Instance instance, PP_Ext_
Alarms_Alarm_Dev_Array* alarms, struct PP_CompletionCallback* callback) { | |
| 3928 const struct PPB_Ext_Alarms_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Alarms_
Dev_0_1.real_iface; | |
| 3929 return iface->GetAll(instance, alarms, *callback); | |
| 3930 } | |
| 3931 | |
| 3932 static void Pnacl_M27_PPB_Ext_Alarms_Dev_Clear(PP_Instance instance, struct PP_V
ar* name) { | |
| 3933 const struct PPB_Ext_Alarms_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Alarms_
Dev_0_1.real_iface; | |
| 3934 iface->Clear(instance, *name); | |
| 3935 } | |
| 3936 | |
| 3937 static void Pnacl_M27_PPB_Ext_Alarms_Dev_ClearAll(PP_Instance instance) { | |
| 3938 const struct PPB_Ext_Alarms_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Alarms_
Dev_0_1.real_iface; | |
| 3939 iface->ClearAll(instance); | |
| 3940 } | |
| 3941 | |
| 3942 /* End wrapper methods for PPB_Ext_Alarms_Dev_0_1 */ | |
| 3943 | |
| 3944 /* Begin wrapper methods for PPB_Ext_Events_Dev_0_1 */ | |
| 3945 | |
| 3946 static uint32_t Pnacl_M27_PPB_Ext_Events_Dev_AddListener(PP_Instance instance, s
truct PP_Ext_EventListener* listener) { | |
| 3947 const struct PPB_Ext_Events_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Events_
Dev_0_1.real_iface; | |
| 3948 return iface->AddListener(instance, *listener); | |
| 3949 } | |
| 3950 | |
| 3951 static void Pnacl_M27_PPB_Ext_Events_Dev_RemoveListener(PP_Instance instance, ui
nt32_t listener_id) { | |
| 3952 const struct PPB_Ext_Events_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Events_
Dev_0_1.real_iface; | |
| 3953 iface->RemoveListener(instance, listener_id); | |
| 3954 } | |
| 3955 | |
| 3956 /* End wrapper methods for PPB_Ext_Events_Dev_0_1 */ | |
| 3957 | |
| 3958 /* Begin wrapper methods for PPB_Ext_Socket_Dev_0_1 */ | 3911 /* Begin wrapper methods for PPB_Ext_Socket_Dev_0_1 */ |
| 3959 | 3912 |
| 3960 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Create(PP_Instance instance, PP_Ext_
Socket_SocketType_Dev type, PP_Ext_Socket_CreateOptions_Dev options, PP_Ext_Sock
et_CreateInfo_Dev* create_info, struct PP_CompletionCallback* callback) { | 3913 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Create(PP_Instance instance, PP_Ext_
Socket_SocketType_Dev type, PP_Ext_Socket_CreateOptions_Dev options, PP_Ext_Sock
et_CreateInfo_Dev* create_info, struct PP_CompletionCallback* callback) { |
| 3961 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_
Dev_0_1.real_iface; | 3914 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_
Dev_0_1.real_iface; |
| 3962 return iface->Create(instance, type, options, create_info, *callback); | 3915 return iface->Create(instance, type, options, create_info, *callback); |
| 3963 } | 3916 } |
| 3964 | 3917 |
| 3965 static void Pnacl_M28_PPB_Ext_Socket_Dev_Destroy(PP_Instance instance, struct PP
_Var* socket_id) { | 3918 static void Pnacl_M28_PPB_Ext_Socket_Dev_Destroy(PP_Instance instance, struct PP
_Var* socket_id) { |
| 3966 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_
Dev_0_1.real_iface; | 3919 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_
Dev_0_1.real_iface; |
| 3967 iface->Destroy(instance, *socket_id); | 3920 iface->Destroy(instance, *socket_id); |
| (...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5176 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ | 5129 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ |
| 5177 | 5130 |
| 5178 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ | 5131 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ |
| 5179 | 5132 |
| 5180 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ | 5133 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ |
| 5181 | 5134 |
| 5182 struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = { | 5135 struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = { |
| 5183 .GetInstanceObject = &Pnacl_M18_PPP_Instance_Private_GetInstanceObject | 5136 .GetInstanceObject = &Pnacl_M18_PPP_Instance_Private_GetInstanceObject |
| 5184 }; | 5137 }; |
| 5185 | 5138 |
| 5186 struct PPB_Ext_Alarms_Dev_0_1 Pnacl_Wrappers_PPB_Ext_Alarms_Dev_0_1 = { | |
| 5187 .Create = (void (*)(PP_Instance instance, struct PP_Var name, PP_Ext_Alarms_
AlarmCreateInfo_Dev alarm_info))&Pnacl_M27_PPB_Ext_Alarms_Dev_Create, | |
| 5188 .Get = (int32_t (*)(PP_Instance instance, struct PP_Var name, PP_Ext_Alarms_
Alarm_Dev* alarm, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_Ext_Alar
ms_Dev_Get, | |
| 5189 .GetAll = (int32_t (*)(PP_Instance instance, PP_Ext_Alarms_Alarm_Dev_Array*
alarms, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_Ext_Alarms_Dev_Get
All, | |
| 5190 .Clear = (void (*)(PP_Instance instance, struct PP_Var name))&Pnacl_M27_PPB_
Ext_Alarms_Dev_Clear, | |
| 5191 .ClearAll = (void (*)(PP_Instance instance))&Pnacl_M27_PPB_Ext_Alarms_Dev_Cl
earAll | |
| 5192 }; | |
| 5193 | |
| 5194 struct PPB_Ext_Events_Dev_0_1 Pnacl_Wrappers_PPB_Ext_Events_Dev_0_1 = { | |
| 5195 .AddListener = (uint32_t (*)(PP_Instance instance, struct PP_Ext_EventListen
er listener))&Pnacl_M27_PPB_Ext_Events_Dev_AddListener, | |
| 5196 .RemoveListener = (void (*)(PP_Instance instance, uint32_t listener_id))&Pna
cl_M27_PPB_Ext_Events_Dev_RemoveListener | |
| 5197 }; | |
| 5198 | |
| 5199 struct PPB_Ext_Socket_Dev_0_1 Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_1 = { | 5139 struct PPB_Ext_Socket_Dev_0_1 Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_1 = { |
| 5200 .Create = (int32_t (*)(PP_Instance instance, PP_Ext_Socket_SocketType_Dev ty
pe, PP_Ext_Socket_CreateOptions_Dev options, PP_Ext_Socket_CreateInfo_Dev* creat
e_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Cre
ate, | 5140 .Create = (int32_t (*)(PP_Instance instance, PP_Ext_Socket_SocketType_Dev ty
pe, PP_Ext_Socket_CreateOptions_Dev options, PP_Ext_Socket_CreateInfo_Dev* creat
e_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Cre
ate, |
| 5201 .Destroy = (void (*)(PP_Instance instance, struct PP_Var socket_id))&Pnacl_M
28_PPB_Ext_Socket_Dev_Destroy, | 5141 .Destroy = (void (*)(PP_Instance instance, struct PP_Var socket_id))&Pnacl_M
28_PPB_Ext_Socket_Dev_Destroy, |
| 5202 .Connect = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struc
t PP_Var hostname, struct PP_Var port, struct PP_Var* result, struct PP_Completi
onCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Connect, | 5142 .Connect = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struc
t PP_Var hostname, struct PP_Var port, struct PP_Var* result, struct PP_Completi
onCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Connect, |
| 5203 .Bind = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct P
P_Var address, struct PP_Var port, struct PP_Var* result, struct PP_CompletionCa
llback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Bind, | 5143 .Bind = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct P
P_Var address, struct PP_Var port, struct PP_Var* result, struct PP_CompletionCa
llback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Bind, |
| 5204 .Disconnect = (void (*)(PP_Instance instance, struct PP_Var socket_id))&Pnac
l_M28_PPB_Ext_Socket_Dev_Disconnect, | 5144 .Disconnect = (void (*)(PP_Instance instance, struct PP_Var socket_id))&Pnac
l_M28_PPB_Ext_Socket_Dev_Disconnect, |
| 5205 .Read = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct P
P_Var buffer_size, PP_Ext_Socket_ReadInfo_Dev* read_info, struct PP_CompletionCa
llback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Read, | 5145 .Read = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct P
P_Var buffer_size, PP_Ext_Socket_ReadInfo_Dev* read_info, struct PP_CompletionCa
llback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Read, |
| 5206 .Write = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct
PP_Var data, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallba
ck callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Write, | 5146 .Write = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct
PP_Var data, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallba
ck callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Write, |
| 5207 .RecvFrom = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, stru
ct PP_Var buffer_size, PP_Ext_Socket_RecvFromInfo_Dev* recv_from_info, struct PP
_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_RecvFrom, | 5147 .RecvFrom = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, stru
ct PP_Var buffer_size, PP_Ext_Socket_RecvFromInfo_Dev* recv_from_info, struct PP
_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_RecvFrom, |
| 5208 .SendTo = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct
PP_Var data, struct PP_Var address, struct PP_Var port, PP_Ext_Socket_WriteInfo
_Dev* write_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Sock
et_Dev_SendTo, | 5148 .SendTo = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct
PP_Var data, struct PP_Var address, struct PP_Var port, PP_Ext_Socket_WriteInfo
_Dev* write_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Sock
et_Dev_SendTo, |
| (...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5824 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_8, | 5764 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_8, |
| 5825 .real_iface = NULL | 5765 .real_iface = NULL |
| 5826 }; | 5766 }; |
| 5827 | 5767 |
| 5828 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { | 5768 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { |
| 5829 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, | 5769 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, |
| 5830 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, | 5770 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, |
| 5831 .real_iface = NULL | 5771 .real_iface = NULL |
| 5832 }; | 5772 }; |
| 5833 | 5773 |
| 5834 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1 = { | |
| 5835 .iface_macro = PPB_EXT_ALARMS_DEV_INTERFACE_0_1, | |
| 5836 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Alarms_Dev_0_1, | |
| 5837 .real_iface = NULL | |
| 5838 }; | |
| 5839 | |
| 5840 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1 = { | |
| 5841 .iface_macro = PPB_EXT_EVENTS_DEV_INTERFACE_0_1, | |
| 5842 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Events_Dev_0_1, | |
| 5843 .real_iface = NULL | |
| 5844 }; | |
| 5845 | |
| 5846 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1 = { | 5774 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1 = { |
| 5847 .iface_macro = PPB_EXT_SOCKET_DEV_INTERFACE_0_1, | 5775 .iface_macro = PPB_EXT_SOCKET_DEV_INTERFACE_0_1, |
| 5848 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_1, | 5776 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_1, |
| 5849 .real_iface = NULL | 5777 .real_iface = NULL |
| 5850 }; | 5778 }; |
| 5851 | 5779 |
| 5852 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2 = { | 5780 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2 = { |
| 5853 .iface_macro = PPB_EXT_SOCKET_DEV_INTERFACE_0_2, | 5781 .iface_macro = PPB_EXT_SOCKET_DEV_INTERFACE_0_2, |
| 5854 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_2, | 5782 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_2, |
| 5855 .real_iface = NULL | 5783 .real_iface = NULL |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5944 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3, | 5872 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3, |
| 5945 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4, | 5873 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4, |
| 5946 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5, | 5874 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5, |
| 5947 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2, | 5875 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2, |
| 5948 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3, | 5876 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3, |
| 5949 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4, | 5877 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4, |
| 5950 &Pnacl_WrapperInfo_PPB_UMA_Private_0_1, | 5878 &Pnacl_WrapperInfo_PPB_UMA_Private_0_1, |
| 5951 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, | 5879 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, |
| 5952 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, | 5880 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, |
| 5953 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, | 5881 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, |
| 5954 &Pnacl_WrapperInfo_PPB_Ext_Alarms_Dev_0_1, | |
| 5955 &Pnacl_WrapperInfo_PPB_Ext_Events_Dev_0_1, | |
| 5956 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1, | 5882 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1, |
| 5957 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2, | 5883 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2, |
| 5958 NULL | 5884 NULL |
| 5959 }; | 5885 }; |
| 5960 | 5886 |
| 5961 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { | 5887 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { |
| 5962 &Pnacl_WrapperInfo_PPP_Messaging_1_0, | 5888 &Pnacl_WrapperInfo_PPP_Messaging_1_0, |
| 5963 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, | 5889 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, |
| 5964 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_8, | 5890 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_8, |
| 5965 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, | 5891 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6035 if (NULL == iface) return NULL; | 5961 if (NULL == iface) return NULL; |
| 6036 wrapper->real_iface = iface; | 5962 wrapper->real_iface = iface; |
| 6037 } | 5963 } |
| 6038 | 5964 |
| 6039 if (wrapper->wrapped_iface) { | 5965 if (wrapper->wrapped_iface) { |
| 6040 return wrapper->wrapped_iface; | 5966 return wrapper->wrapped_iface; |
| 6041 } else { | 5967 } else { |
| 6042 return wrapper->real_iface; | 5968 return wrapper->real_iface; |
| 6043 } | 5969 } |
| 6044 } | 5970 } |
| OLD | NEW |