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 3 * found in the LICENSE file. 4 */ 5 6 /* NOTE: this is auto-generated from IDL */ 7 #include "ppapi/generators/pnacl_shim.h" 8 9 #include "ppapi/c/ppb.h" 10 #include "ppapi/c/dev/ppb_alarms_dev.h" 11 #include "ppapi/c/dev/ppb_audio_input_dev.h" 12 #include "ppapi/c/dev/ppb_buffer_dev.h" 13 #include "ppapi/c/dev/ppb_crypto_dev.h" 14 #include "ppapi/c/dev/ppb_cursor_control_dev.h" 15 #include "ppapi/c/dev/ppb_device_ref_dev.h" 16 #include "ppapi/c/dev/ppb_file_chooser_dev.h" 17 #include "ppapi/c/dev/ppb_file_io_dev.h" 18 #include "ppapi/c/dev/ppb_find_dev.h" 19 #include "ppapi/c/dev/ppb_font_dev.h" 20 #include "ppapi/c/dev/ppb_graphics_2d_dev.h" 21 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" 22 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" 23 #include "ppapi/c/dev/ppb_memory_dev.h" 24 #include "ppapi/c/dev/ppb_printing_dev.h" 25 #include "ppapi/c/dev/ppb_resource_array_dev.h" 26 #include "ppapi/c/dev/ppb_scrollbar_dev.h" 27 #include "ppapi/c/dev/ppb_text_input_dev.h" 28 #include "ppapi/c/dev/ppb_trace_event_dev.h" 29 #include "ppapi/c/dev/ppb_truetype_font_dev.h" 30 #include "ppapi/c/dev/ppb_url_util_dev.h" 31 #include "ppapi/c/dev/ppb_var_resource_dev.h" 32 #include "ppapi/c/dev/ppb_video_capture_dev.h" 33 #include "ppapi/c/dev/ppb_video_decoder_dev.h" 34 #include "ppapi/c/dev/ppb_view_dev.h" 35 #include "ppapi/c/dev/ppb_widget_dev.h" 36 #include "ppapi/c/dev/ppb_zoom_dev.h" 37 #include "ppapi/c/dev/ppp_network_state_dev.h" 38 #include "ppapi/c/dev/ppp_printing_dev.h" 39 #include "ppapi/c/dev/ppp_scrollbar_dev.h" 40 #include "ppapi/c/dev/ppp_selection_dev.h" 41 #include "ppapi/c/dev/ppp_text_input_dev.h" 42 #include "ppapi/c/dev/ppp_video_capture_dev.h" 43 #include "ppapi/c/dev/ppp_video_decoder_dev.h" 44 #include "ppapi/c/dev/ppp_widget_dev.h" 45 #include "ppapi/c/dev/ppp_zoom_dev.h" 46 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" 47 #include "ppapi/c/ppb_audio.h" 48 #include "ppapi/c/ppb_audio_config.h" 49 #include "ppapi/c/ppb_console.h" 50 #include "ppapi/c/ppb_core.h" 51 #include "ppapi/c/ppb_file_io.h" 52 #include "ppapi/c/ppb_file_ref.h" 53 #include "ppapi/c/ppb_file_system.h" 54 #include "ppapi/c/ppb_fullscreen.h" 55 #include "ppapi/c/ppb_gamepad.h" 56 #include "ppapi/c/ppb_graphics_2d.h" 57 #include "ppapi/c/ppb_graphics_3d.h" 58 #include "ppapi/c/ppb_host_resolver.h" 59 #include "ppapi/c/ppb_image_data.h" 60 #include "ppapi/c/ppb_input_event.h" 61 #include "ppapi/c/ppb_instance.h" 62 #include "ppapi/c/ppb_message_loop.h" 63 #include "ppapi/c/ppb_messaging.h" 64 #include "ppapi/c/ppb_mouse_cursor.h" 65 #include "ppapi/c/ppb_mouse_lock.h" 66 #include "ppapi/c/ppb_net_address.h" 67 #include "ppapi/c/ppb_network_list.h" 68 #include "ppapi/c/ppb_network_monitor.h" 69 #include "ppapi/c/ppb_network_proxy.h" 70 #include "ppapi/c/ppb_tcp_socket.h" 71 #include "ppapi/c/ppb_text_input_controller.h" 72 #include "ppapi/c/ppb_udp_socket.h" 73 #include "ppapi/c/ppb_url_loader.h" 74 #include "ppapi/c/ppb_url_request_info.h" 75 #include "ppapi/c/ppb_url_response_info.h" 76 #include "ppapi/c/ppb_var.h" 77 #include "ppapi/c/ppb_var_array.h" 78 #include "ppapi/c/ppb_var_array_buffer.h" 79 #include "ppapi/c/ppb_var_dictionary.h" 80 #include "ppapi/c/ppb_view.h" 81 #include "ppapi/c/ppb_websocket.h" 82 #include "ppapi/c/ppp_graphics_3d.h" 83 #include "ppapi/c/ppp_input_event.h" 84 #include "ppapi/c/ppp_instance.h" 85 #include "ppapi/c/ppp_messaging.h" 86 #include "ppapi/c/ppp_mouse_lock.h" 87 #include "ppapi/c/private/ppb_content_decryptor_private.h" 88 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" 89 #include "ppapi/c/private/ppb_file_io_private.h" 90 #include "ppapi/c/private/ppb_file_ref_private.h" 91 #include "ppapi/c/private/ppb_flash.h" 92 #include "ppapi/c/private/ppb_flash_clipboard.h" 93 #include "ppapi/c/private/ppb_flash_device_id.h" 94 #include "ppapi/c/private/ppb_flash_drm.h" 95 #include "ppapi/c/private/ppb_flash_font_file.h" 96 #include "ppapi/c/private/ppb_flash_fullscreen.h" 97 #include "ppapi/c/private/ppb_flash_menu.h" 98 #include "ppapi/c/private/ppb_flash_message_loop.h" 99 #include "ppapi/c/private/ppb_flash_print.h" 100 #include "ppapi/c/private/ppb_host_resolver_private.h" 101 #include "ppapi/c/private/ppb_instance_private.h" 102 #include "ppapi/c/private/ppb_isolated_file_system_private.h" 103 #include "ppapi/c/private/ppb_nacl_private.h" 104 #include "ppapi/c/private/ppb_net_address_private.h" 105 #include "ppapi/c/private/ppb_output_protection_private.h" 106 #include "ppapi/c/private/ppb_platform_verification_private.h" 107 #include "ppapi/c/private/ppb_talk_private.h" 108 #include "ppapi/c/private/ppb_tcp_server_socket_private.h" 109 #include "ppapi/c/private/ppb_tcp_socket_private.h" 110 #include "ppapi/c/private/ppb_testing_private.h" 111 #include "ppapi/c/private/ppb_udp_socket_private.h" 112 #include "ppapi/c/private/ppb_uma_private.h" 113 #include "ppapi/c/private/ppb_video_destination_private.h" 114 #include "ppapi/c/private/ppb_video_source_private.h" 115 #include "ppapi/c/private/ppb_x509_certificate_private.h" 116 #include "ppapi/c/private/ppp_content_decryptor_private.h" 117 #include "ppapi/c/private/ppp_flash_browser_operations.h" 118 #include "ppapi/c/private/ppp_instance_private.h" 119 #include "ppapi/c/trusted/ppb_broker_trusted.h" 120 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" 121 #include "ppapi/c/trusted/ppb_char_set_trusted.h" 122 #include "ppapi/c/trusted/ppb_file_chooser_trusted.h" 123 #include "ppapi/c/trusted/ppb_url_loader_trusted.h" 124 125 /* Use local strcmp to avoid dependency on libc. */ 126 static int mystrcmp(const char* s1, const char *s2) { 127 while (1) { 128 if (*s1 == 0) break; 129 if (*s2 == 0) break; 130 if (*s1 != *s2) break; 131 ++s1; 132 ++s2; 133 } 134 return (int)(*s1) - (int)(*s2); 135 } 136 137 /* BEGIN Declarations for all Wrapper Infos */ 138 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; 140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0; 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0; 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1; 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInputController_1_0; 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0; 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0; 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1; 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0; 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; 174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; 176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1; 178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2; 179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; 180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; 181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; 182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; 183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; 184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1; 185 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; 186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; 187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; 188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2; 189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; 190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; 191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; 192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1; 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2; 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16; 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3; 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9; 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1; 200 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1; 201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1; 202 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4; 203 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5; 204 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6; 205 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0; 206 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0; 207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0; 208 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0; 209 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_0; 210 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_1; 211 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Menu_0_2; 212 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1; 213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_Private_0_1; 214 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2; 215 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NaCl_Private_1_0; 216 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1; 217 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0; 218 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1; 219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1; 220 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2; 221 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0; 222 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_2_0; 223 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1; 224 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2; 225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3; 226 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4; 227 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5; 228 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0; 229 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2; 230 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3; 231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4; 232 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1; 233 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1; 234 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1; 235 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1; 236 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9; 237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1; 238 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1; 239 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2; 240 /* END Declarations for all Wrapper Infos. */ 241 242 /* Not generating wrapper methods for PPB_Audio_1_0 */ 243 244 /* Not generating wrapper methods for PPB_Audio_1_1 */ 245 246 /* Not generating wrapper methods for PPB_AudioConfig_1_0 */ 247 248 /* Not generating wrapper methods for PPB_AudioConfig_1_1 */ 249 250 /* Begin wrapper methods for PPB_Console_1_0 */ 251 252 static void Pnacl_M25_PPB_Console_Log(PP_Instance instance, PP_LogLevel level, struct PP_Var* value) { 253 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_iface; 254 iface->Log(instance, level, *value); 255 } 256 257 static void Pnacl_M25_PPB_Console_LogWithSource(PP_Instance instance, PP_LogLevel level, struct PP_Var* source, struct PP_Var* value) { 258 const struct PPB_Console_1_0 *iface = Pnacl_WrapperInfo_PPB_Console_1_0.real_iface; 259 iface->LogWithSource(instance, level, *source, *value); 260 } 261 262 /* End wrapper methods for PPB_Console_1_0 */ 263 264 /* Begin wrapper methods for PPB_Core_1_0 */ 265 266 static void Pnacl_M14_PPB_Core_AddRefResource(PP_Resource resource) { 267 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 268 iface->AddRefResource(resource); 269 } 270 271 static void Pnacl_M14_PPB_Core_ReleaseResource(PP_Resource resource) { 272 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 273 iface->ReleaseResource(resource); 274 } 275 276 static PP_Time Pnacl_M14_PPB_Core_GetTime(void) { 277 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 278 return iface->GetTime(); 279 } 280 281 static PP_TimeTicks Pnacl_M14_PPB_Core_GetTimeTicks(void) { 282 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 283 return iface->GetTimeTicks(); 284 } 285 286 static void Pnacl_M14_PPB_Core_CallOnMainThread(int32_t delay_in_milliseconds, struct PP_CompletionCallback* callback, int32_t result) { 287 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 288 iface->CallOnMainThread(delay_in_milliseconds, *callback, result); 289 } 290 291 static PP_Bool Pnacl_M14_PPB_Core_IsMainThread(void) { 292 const struct PPB_Core_1_0 *iface = Pnacl_WrapperInfo_PPB_Core_1_0.real_iface; 293 return iface->IsMainThread(); 294 } 295 296 /* End wrapper methods for PPB_Core_1_0 */ 297 298 /* Begin wrapper methods for PPB_FileIO_1_0 */ 299 300 static PP_Resource Pnacl_M14_PPB_FileIO_Create(PP_Instance instance) { 301 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 302 return iface->Create(instance); 303 } 304 305 static PP_Bool Pnacl_M14_PPB_FileIO_IsFileIO(PP_Resource resource) { 306 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 307 return iface->IsFileIO(resource); 308 } 309 310 static int32_t Pnacl_M14_PPB_FileIO_Open(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback* callback) { 311 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 312 return iface->Open(file_io, file_ref, open_flags, *callback); 313 } 314 315 static int32_t Pnacl_M14_PPB_FileIO_Query(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback* callback) { 316 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 317 return iface->Query(file_io, info, *callback); 318 } 319 320 static int32_t Pnacl_M14_PPB_FileIO_Touch(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) { 321 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 322 return iface->Touch(file_io, last_access_time, last_modified_time, *callback); 323 } 324 325 static int32_t Pnacl_M14_PPB_FileIO_Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 326 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 327 return iface->Read(file_io, offset, buffer, bytes_to_read, *callback); 328 } 329 330 static int32_t Pnacl_M14_PPB_FileIO_Write(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 331 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 332 return iface->Write(file_io, offset, buffer, bytes_to_write, *callback); 333 } 334 335 static int32_t Pnacl_M14_PPB_FileIO_SetLength(PP_Resource file_io, int64_t length, struct PP_CompletionCallback* callback) { 336 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 337 return iface->SetLength(file_io, length, *callback); 338 } 339 340 static int32_t Pnacl_M14_PPB_FileIO_Flush(PP_Resource file_io, struct PP_CompletionCallback* callback) { 341 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 342 return iface->Flush(file_io, *callback); 343 } 344 345 static void Pnacl_M14_PPB_FileIO_Close(PP_Resource file_io) { 346 const struct PPB_FileIO_1_0 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_0.real_iface; 347 iface->Close(file_io); 348 } 349 350 /* End wrapper methods for PPB_FileIO_1_0 */ 351 352 /* Begin wrapper methods for PPB_FileIO_1_1 */ 353 354 static PP_Resource Pnacl_M25_PPB_FileIO_Create(PP_Instance instance) { 355 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 356 return iface->Create(instance); 357 } 358 359 static PP_Bool Pnacl_M25_PPB_FileIO_IsFileIO(PP_Resource resource) { 360 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 361 return iface->IsFileIO(resource); 362 } 363 364 static int32_t Pnacl_M25_PPB_FileIO_Open(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback* callback) { 365 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 366 return iface->Open(file_io, file_ref, open_flags, *callback); 367 } 368 369 static int32_t Pnacl_M25_PPB_FileIO_Query(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback* callback) { 370 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 371 return iface->Query(file_io, info, *callback); 372 } 373 374 static int32_t Pnacl_M25_PPB_FileIO_Touch(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) { 375 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 376 return iface->Touch(file_io, last_access_time, last_modified_time, *callback); 377 } 378 379 static int32_t Pnacl_M25_PPB_FileIO_Read(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 380 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 381 return iface->Read(file_io, offset, buffer, bytes_to_read, *callback); 382 } 383 384 static int32_t Pnacl_M25_PPB_FileIO_Write(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 385 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 386 return iface->Write(file_io, offset, buffer, bytes_to_write, *callback); 387 } 388 389 static int32_t Pnacl_M25_PPB_FileIO_SetLength(PP_Resource file_io, int64_t length, struct PP_CompletionCallback* callback) { 390 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 391 return iface->SetLength(file_io, length, *callback); 392 } 393 394 static int32_t Pnacl_M25_PPB_FileIO_Flush(PP_Resource file_io, struct PP_CompletionCallback* callback) { 395 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 396 return iface->Flush(file_io, *callback); 397 } 398 399 static void Pnacl_M25_PPB_FileIO_Close(PP_Resource file_io) { 400 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 401 iface->Close(file_io); 402 } 403 404 static int32_t Pnacl_M25_PPB_FileIO_ReadToArray(PP_Resource file_io, int64_t offset, int32_t max_read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 405 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_iface; 406 return iface->ReadToArray(file_io, offset, max_read_length, output, *callback); 407 } 408 409 /* End wrapper methods for PPB_FileIO_1_1 */ 410 411 /* Begin wrapper methods for PPB_FileRef_1_0 */ 412 413 static PP_Resource Pnacl_M14_PPB_FileRef_Create(PP_Resource file_system, const char* path) { 414 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 415 return iface->Create(file_system, path); 416 } 417 418 static PP_Bool Pnacl_M14_PPB_FileRef_IsFileRef(PP_Resource resource) { 419 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 420 return iface->IsFileRef(resource); 421 } 422 423 static PP_FileSystemType Pnacl_M14_PPB_FileRef_GetFileSystemType(PP_Resource file_ref) { 424 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 425 return iface->GetFileSystemType(file_ref); 426 } 427 428 static void Pnacl_M14_PPB_FileRef_GetName(struct PP_Var* _struct_result, PP_Resource file_ref) { 429 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 430 *_struct_result = iface->GetName(file_ref); 431 } 432 433 static void Pnacl_M14_PPB_FileRef_GetPath(struct PP_Var* _struct_result, PP_Resource file_ref) { 434 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 435 *_struct_result = iface->GetPath(file_ref); 436 } 437 438 static PP_Resource Pnacl_M14_PPB_FileRef_GetParent(PP_Resource file_ref) { 439 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 440 return iface->GetParent(file_ref); 441 } 442 443 static int32_t Pnacl_M14_PPB_FileRef_MakeDirectory(PP_Resource directory_ref, PP_Bool make_ancestors, struct PP_CompletionCallback* callback) { 444 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 445 return iface->MakeDirectory(directory_ref, make_ancestors, *callback); 446 } 447 448 static int32_t Pnacl_M14_PPB_FileRef_Touch(PP_Resource file_ref, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) { 449 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 450 return iface->Touch(file_ref, last_access_time, last_modified_time, *callback); 451 } 452 453 static int32_t Pnacl_M14_PPB_FileRef_Delete(PP_Resource file_ref, struct PP_CompletionCallback* callback) { 454 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 455 return iface->Delete(file_ref, *callback); 456 } 457 458 static int32_t Pnacl_M14_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource new_file_ref, struct PP_CompletionCallback* callback) { 459 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_iface; 460 return iface->Rename(file_ref, new_file_ref, *callback); 461 } 462 463 /* End wrapper methods for PPB_FileRef_1_0 */ 464 465 /* Begin wrapper methods for PPB_FileRef_1_1 */ 466 467 static PP_Resource Pnacl_M28_PPB_FileRef_Create(PP_Resource file_system, const char* path) { 468 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 469 return iface->Create(file_system, path); 470 } 471 472 static PP_Bool Pnacl_M28_PPB_FileRef_IsFileRef(PP_Resource resource) { 473 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 474 return iface->IsFileRef(resource); 475 } 476 477 static PP_FileSystemType Pnacl_M28_PPB_FileRef_GetFileSystemType(PP_Resource file_ref) { 478 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 479 return iface->GetFileSystemType(file_ref); 480 } 481 482 static void Pnacl_M28_PPB_FileRef_GetName(struct PP_Var* _struct_result, PP_Resource file_ref) { 483 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 484 *_struct_result = iface->GetName(file_ref); 485 } 486 487 static void Pnacl_M28_PPB_FileRef_GetPath(struct PP_Var* _struct_result, PP_Resource file_ref) { 488 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 489 *_struct_result = iface->GetPath(file_ref); 490 } 491 492 static PP_Resource Pnacl_M28_PPB_FileRef_GetParent(PP_Resource file_ref) { 493 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 494 return iface->GetParent(file_ref); 495 } 496 497 static int32_t Pnacl_M28_PPB_FileRef_MakeDirectory(PP_Resource directory_ref, PP_Bool make_ancestors, struct PP_CompletionCallback* callback) { 498 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 499 return iface->MakeDirectory(directory_ref, make_ancestors, *callback); 500 } 501 502 static int32_t Pnacl_M28_PPB_FileRef_Touch(PP_Resource file_ref, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) { 503 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 504 return iface->Touch(file_ref, last_access_time, last_modified_time, *callback); 505 } 506 507 static int32_t Pnacl_M28_PPB_FileRef_Delete(PP_Resource file_ref, struct PP_CompletionCallback* callback) { 508 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 509 return iface->Delete(file_ref, *callback); 510 } 511 512 static int32_t Pnacl_M28_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource new_file_ref, struct PP_CompletionCallback* callback) { 513 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 514 return iface->Rename(file_ref, new_file_ref, *callback); 515 } 516 517 static int32_t Pnacl_M28_PPB_FileRef_Query(PP_Resource file_ref, struct PP_FileInfo* info, struct PP_CompletionCallback* callback) { 518 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 519 return iface->Query(file_ref, info, *callback); 520 } 521 522 static int32_t Pnacl_M28_PPB_FileRef_ReadDirectoryEntries(PP_Resource file_ref, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 523 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_iface; 524 return iface->ReadDirectoryEntries(file_ref, *output, *callback); 525 } 526 527 /* End wrapper methods for PPB_FileRef_1_1 */ 528 529 /* Begin wrapper methods for PPB_FileSystem_1_0 */ 530 531 static PP_Resource Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance, PP_FileSystemType type) { 532 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.real_iface; 533 return iface->Create(instance, type); 534 } 535 536 static PP_Bool Pnacl_M14_PPB_FileSystem_IsFileSystem(PP_Resource resource) { 537 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.real_iface; 538 return iface->IsFileSystem(resource); 539 } 540 541 static int32_t Pnacl_M14_PPB_FileSystem_Open(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback* callback) { 542 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.real_iface; 543 return iface->Open(file_system, expected_size, *callback); 544 } 545 546 static PP_FileSystemType Pnacl_M14_PPB_FileSystem_GetType(PP_Resource file_system) { 547 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.real_iface; 548 return iface->GetType(file_system); 549 } 550 551 /* End wrapper methods for PPB_FileSystem_1_0 */ 552 553 /* Not generating wrapper methods for PPB_Fullscreen_1_0 */ 554 555 /* Not generating wrapper methods for PPB_Gamepad_1_0 */ 556 557 /* Begin wrapper methods for PPB_Graphics2D_1_0 */ 558 559 static PP_Resource Pnacl_M14_PPB_Graphics2D_Create(PP_Instance instance, const struct PP_Size* size, PP_Bool is_always_opaque) { 560 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 561 return iface->Create(instance, size, is_always_opaque); 562 } 563 564 static PP_Bool Pnacl_M14_PPB_Graphics2D_IsGraphics2D(PP_Resource resource) { 565 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 566 return iface->IsGraphics2D(resource); 567 } 568 569 static PP_Bool Pnacl_M14_PPB_Graphics2D_Describe(PP_Resource graphics_2d, struct PP_Size* size, PP_Bool* is_always_opaque) { 570 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 571 return iface->Describe(graphics_2d, size, is_always_opaque); 572 } 573 574 static void Pnacl_M14_PPB_Graphics2D_PaintImageData(PP_Resource graphics_2d, PP_Resource image_data, const struct PP_Point* top_left, const struct PP_Rect* src_rect) { 575 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 576 iface->PaintImageData(graphics_2d, image_data, top_left, src_rect); 577 } 578 579 static void Pnacl_M14_PPB_Graphics2D_Scroll(PP_Resource graphics_2d, const struct PP_Rect* clip_rect, const struct PP_Point* amount) { 580 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 581 iface->Scroll(graphics_2d, clip_rect, amount); 582 } 583 584 static void Pnacl_M14_PPB_Graphics2D_ReplaceContents(PP_Resource graphics_2d, PP_Resource image_data) { 585 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 586 iface->ReplaceContents(graphics_2d, image_data); 587 } 588 589 static int32_t Pnacl_M14_PPB_Graphics2D_Flush(PP_Resource graphics_2d, struct PP_CompletionCallback* callback) { 590 const struct PPB_Graphics2D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_0.real_iface; 591 return iface->Flush(graphics_2d, *callback); 592 } 593 594 /* End wrapper methods for PPB_Graphics2D_1_0 */ 595 596 /* Begin wrapper methods for PPB_Graphics2D_1_1 */ 597 598 static PP_Resource Pnacl_M27_PPB_Graphics2D_Create(PP_Instance instance, const struct PP_Size* size, PP_Bool is_always_opaque) { 599 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 600 return iface->Create(instance, size, is_always_opaque); 601 } 602 603 static PP_Bool Pnacl_M27_PPB_Graphics2D_IsGraphics2D(PP_Resource resource) { 604 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 605 return iface->IsGraphics2D(resource); 606 } 607 608 static PP_Bool Pnacl_M27_PPB_Graphics2D_Describe(PP_Resource graphics_2d, struct PP_Size* size, PP_Bool* is_always_opaque) { 609 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 610 return iface->Describe(graphics_2d, size, is_always_opaque); 611 } 612 613 static void Pnacl_M27_PPB_Graphics2D_PaintImageData(PP_Resource graphics_2d, PP_Resource image_data, const struct PP_Point* top_left, const struct PP_Rect* src_rect) { 614 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 615 iface->PaintImageData(graphics_2d, image_data, top_left, src_rect); 616 } 617 618 static void Pnacl_M27_PPB_Graphics2D_Scroll(PP_Resource graphics_2d, const struct PP_Rect* clip_rect, const struct PP_Point* amount) { 619 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 620 iface->Scroll(graphics_2d, clip_rect, amount); 621 } 622 623 static void Pnacl_M27_PPB_Graphics2D_ReplaceContents(PP_Resource graphics_2d, PP_Resource image_data) { 624 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 625 iface->ReplaceContents(graphics_2d, image_data); 626 } 627 628 static int32_t Pnacl_M27_PPB_Graphics2D_Flush(PP_Resource graphics_2d, struct PP_CompletionCallback* callback) { 629 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 630 return iface->Flush(graphics_2d, *callback); 631 } 632 633 static PP_Bool Pnacl_M27_PPB_Graphics2D_SetScale(PP_Resource resource, float scale) { 634 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 635 return iface->SetScale(resource, scale); 636 } 637 638 static float Pnacl_M27_PPB_Graphics2D_GetScale(PP_Resource resource) { 639 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.real_iface; 640 return iface->GetScale(resource); 641 } 642 643 /* End wrapper methods for PPB_Graphics2D_1_1 */ 644 645 /* Begin wrapper methods for PPB_Graphics3D_1_0 */ 646 647 static int32_t Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue(PP_Resource instance, int32_t attribute, int32_t* value) { 648 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 649 return iface->GetAttribMaxValue(instance, attribute, value); 650 } 651 652 static PP_Resource Pnacl_M15_PPB_Graphics3D_Create(PP_Instance instance, PP_Resource share_context, const int32_t attrib_list[]) { 653 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 654 return iface->Create(instance, share_context, attrib_list); 655 } 656 657 static PP_Bool Pnacl_M15_PPB_Graphics3D_IsGraphics3D(PP_Resource resource) { 658 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 659 return iface->IsGraphics3D(resource); 660 } 661 662 static int32_t Pnacl_M15_PPB_Graphics3D_GetAttribs(PP_Resource context, int32_t attrib_list[]) { 663 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 664 return iface->GetAttribs(context, attrib_list); 665 } 666 667 static int32_t Pnacl_M15_PPB_Graphics3D_SetAttribs(PP_Resource context, const int32_t attrib_list[]) { 668 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 669 return iface->SetAttribs(context, attrib_list); 670 } 671 672 static int32_t Pnacl_M15_PPB_Graphics3D_GetError(PP_Resource context) { 673 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 674 return iface->GetError(context); 675 } 676 677 static int32_t Pnacl_M15_PPB_Graphics3D_ResizeBuffers(PP_Resource context, int32_t width, int32_t height) { 678 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 679 return iface->ResizeBuffers(context, width, height); 680 } 681 682 static int32_t Pnacl_M15_PPB_Graphics3D_SwapBuffers(PP_Resource context, struct PP_CompletionCallback* callback) { 683 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.real_iface; 684 return iface->SwapBuffers(context, *callback); 685 } 686 687 /* End wrapper methods for PPB_Graphics3D_1_0 */ 688 689 /* Begin wrapper methods for PPB_HostResolver_1_0 */ 690 691 static PP_Resource Pnacl_M29_PPB_HostResolver_Create(PP_Instance instance) { 692 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 693 return iface->Create(instance); 694 } 695 696 static PP_Bool Pnacl_M29_PPB_HostResolver_IsHostResolver(PP_Resource resource) { 697 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 698 return iface->IsHostResolver(resource); 699 } 700 701 static int32_t Pnacl_M29_PPB_HostResolver_Resolve(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Hint* hint, struct PP_CompletionCallback* callback) { 702 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 703 return iface->Resolve(host_resolver, host, port, hint, *callback); 704 } 705 706 static void Pnacl_M29_PPB_HostResolver_GetCanonicalName(struct PP_Var* _struct_result, PP_Resource host_resolver) { 707 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 708 *_struct_result = iface->GetCanonicalName(host_resolver); 709 } 710 711 static uint32_t Pnacl_M29_PPB_HostResolver_GetNetAddressCount(PP_Resource host_resolver) { 712 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 713 return iface->GetNetAddressCount(host_resolver); 714 } 715 716 static PP_Resource Pnacl_M29_PPB_HostResolver_GetNetAddress(PP_Resource host_resolver, uint32_t index) { 717 const struct PPB_HostResolver_1_0 *iface = Pnacl_WrapperInfo_PPB_HostResolver_1_0.real_iface; 718 return iface->GetNetAddress(host_resolver, index); 719 } 720 721 /* End wrapper methods for PPB_HostResolver_1_0 */ 722 723 /* Not generating wrapper methods for PPB_ImageData_1_0 */ 724 725 /* Not generating wrapper methods for PPB_InputEvent_1_0 */ 726 727 /* Begin wrapper methods for PPB_MouseInputEvent_1_0 */ 728 729 static PP_Resource Pnacl_M13_PPB_MouseInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, PP_InputEvent_MouseButton mouse_button, const struct PP_Point* mouse_position, int32_t click_count) { 730 const struct PPB_MouseInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0.real_iface; 731 return iface->Create(instance, type, time_stamp, modifiers, mouse_button, mouse_position, click_count); 732 } 733 734 static PP_Bool Pnacl_M13_PPB_MouseInputEvent_IsMouseInputEvent(PP_Resource resource) { 735 const struct PPB_MouseInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0.real_iface; 736 return iface->IsMouseInputEvent(resource); 737 } 738 739 static PP_InputEvent_MouseButton Pnacl_M13_PPB_MouseInputEvent_GetButton(PP_Resource mouse_event) { 740 const struct PPB_MouseInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0.real_iface; 741 return iface->GetButton(mouse_event); 742 } 743 744 static void Pnacl_M13_PPB_MouseInputEvent_GetPosition(struct PP_Point* _struct_result, PP_Resource mouse_event) { 745 const struct PPB_MouseInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0.real_iface; 746 *_struct_result = iface->GetPosition(mouse_event); 747 } 748 749 static int32_t Pnacl_M13_PPB_MouseInputEvent_GetClickCount(PP_Resource mouse_event) { 750 const struct PPB_MouseInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0.real_iface; 751 return iface->GetClickCount(mouse_event); 752 } 753 754 /* End wrapper methods for PPB_MouseInputEvent_1_0 */ 755 756 /* Begin wrapper methods for PPB_MouseInputEvent_1_1 */ 757 758 static PP_Resource Pnacl_M14_PPB_MouseInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, PP_InputEvent_MouseButton mouse_button, const struct PP_Point* mouse_position, int32_t click_count, const struct PP_Point* mouse_movement) { 759 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 760 return iface->Create(instance, type, time_stamp, modifiers, mouse_button, mouse_position, click_count, mouse_movement); 761 } 762 763 static PP_Bool Pnacl_M14_PPB_MouseInputEvent_IsMouseInputEvent(PP_Resource resource) { 764 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 765 return iface->IsMouseInputEvent(resource); 766 } 767 768 static PP_InputEvent_MouseButton Pnacl_M14_PPB_MouseInputEvent_GetButton(PP_Resource mouse_event) { 769 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 770 return iface->GetButton(mouse_event); 771 } 772 773 static void Pnacl_M14_PPB_MouseInputEvent_GetPosition(struct PP_Point* _struct_result, PP_Resource mouse_event) { 774 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 775 *_struct_result = iface->GetPosition(mouse_event); 776 } 777 778 static int32_t Pnacl_M14_PPB_MouseInputEvent_GetClickCount(PP_Resource mouse_event) { 779 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 780 return iface->GetClickCount(mouse_event); 781 } 782 783 static void Pnacl_M14_PPB_MouseInputEvent_GetMovement(struct PP_Point* _struct_result, PP_Resource mouse_event) { 784 const struct PPB_MouseInputEvent_1_1 *iface = Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1.real_iface; 785 *_struct_result = iface->GetMovement(mouse_event); 786 } 787 788 /* End wrapper methods for PPB_MouseInputEvent_1_1 */ 789 790 /* Begin wrapper methods for PPB_WheelInputEvent_1_0 */ 791 792 static PP_Resource Pnacl_M13_PPB_WheelInputEvent_Create(PP_Instance instance, PP_TimeTicks time_stamp, uint32_t modifiers, const struct PP_FloatPoint* wheel_delta, const struct PP_FloatPoint* wheel_ticks, PP_Bool scroll_by_page) { 793 const struct PPB_WheelInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0.real_iface; 794 return iface->Create(instance, time_stamp, modifiers, wheel_delta, wheel_ticks, scroll_by_page); 795 } 796 797 static PP_Bool Pnacl_M13_PPB_WheelInputEvent_IsWheelInputEvent(PP_Resource resource) { 798 const struct PPB_WheelInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0.real_iface; 799 return iface->IsWheelInputEvent(resource); 800 } 801 802 static void Pnacl_M13_PPB_WheelInputEvent_GetDelta(struct PP_FloatPoint* _struct_result, PP_Resource wheel_event) { 803 const struct PPB_WheelInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0.real_iface; 804 *_struct_result = iface->GetDelta(wheel_event); 805 } 806 807 static void Pnacl_M13_PPB_WheelInputEvent_GetTicks(struct PP_FloatPoint* _struct_result, PP_Resource wheel_event) { 808 const struct PPB_WheelInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0.real_iface; 809 *_struct_result = iface->GetTicks(wheel_event); 810 } 811 812 static PP_Bool Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage(PP_Resource wheel_event) { 813 const struct PPB_WheelInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0.real_iface; 814 return iface->GetScrollByPage(wheel_event); 815 } 816 817 /* End wrapper methods for PPB_WheelInputEvent_1_0 */ 818 819 /* Begin wrapper methods for PPB_KeyboardInputEvent_1_0 */ 820 821 static PP_Resource Pnacl_M13_PPB_KeyboardInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, uint32_t key_code, struct PP_Var* character_text) { 822 const struct PPB_KeyboardInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0.real_iface; 823 return iface->Create(instance, type, time_stamp, modifiers, key_code, *character_text); 824 } 825 826 static PP_Bool Pnacl_M13_PPB_KeyboardInputEvent_IsKeyboardInputEvent(PP_Resource resource) { 827 const struct PPB_KeyboardInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0.real_iface; 828 return iface->IsKeyboardInputEvent(resource); 829 } 830 831 static uint32_t Pnacl_M13_PPB_KeyboardInputEvent_GetKeyCode(PP_Resource key_event) { 832 const struct PPB_KeyboardInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0.real_iface; 833 return iface->GetKeyCode(key_event); 834 } 835 836 static void Pnacl_M13_PPB_KeyboardInputEvent_GetCharacterText(struct PP_Var* _struct_result, PP_Resource character_event) { 837 const struct PPB_KeyboardInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0.real_iface; 838 *_struct_result = iface->GetCharacterText(character_event); 839 } 840 841 /* End wrapper methods for PPB_KeyboardInputEvent_1_0 */ 842 843 /* Begin wrapper methods for PPB_TouchInputEvent_1_0 */ 844 845 static PP_Resource Pnacl_M13_PPB_TouchInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers) { 846 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 847 return iface->Create(instance, type, time_stamp, modifiers); 848 } 849 850 static void Pnacl_M13_PPB_TouchInputEvent_AddTouchPoint(PP_Resource touch_event, PP_TouchListType list, const struct PP_TouchPoint* point) { 851 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 852 iface->AddTouchPoint(touch_event, list, point); 853 } 854 855 static PP_Bool Pnacl_M13_PPB_TouchInputEvent_IsTouchInputEvent(PP_Resource resource) { 856 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 857 return iface->IsTouchInputEvent(resource); 858 } 859 860 static uint32_t Pnacl_M13_PPB_TouchInputEvent_GetTouchCount(PP_Resource resource, PP_TouchListType list) { 861 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 862 return iface->GetTouchCount(resource, list); 863 } 864 865 static void Pnacl_M13_PPB_TouchInputEvent_GetTouchByIndex(struct PP_TouchPoint* _struct_result, PP_Resource resource, PP_TouchListType list, uint32_t index) { 866 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 867 *_struct_result = iface->GetTouchByIndex(resource, list, index); 868 } 869 870 static void Pnacl_M13_PPB_TouchInputEvent_GetTouchById(struct PP_TouchPoint* _struct_result, PP_Resource resource, PP_TouchListType list, uint32_t touch_id) { 871 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0.real_iface; 872 *_struct_result = iface->GetTouchById(resource, list, touch_id); 873 } 874 875 /* End wrapper methods for PPB_TouchInputEvent_1_0 */ 876 877 /* Begin wrapper methods for PPB_IMEInputEvent_1_0 */ 878 879 static PP_Resource Pnacl_M13_PPB_IMEInputEvent_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var* text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end) { 880 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 881 return iface->Create(instance, type, time_stamp, *text, segment_number, segment_offsets, target_segment, selection_start, selection_end); 882 } 883 884 static PP_Bool Pnacl_M13_PPB_IMEInputEvent_IsIMEInputEvent(PP_Resource resource) { 885 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 886 return iface->IsIMEInputEvent(resource); 887 } 888 889 static void Pnacl_M13_PPB_IMEInputEvent_GetText(struct PP_Var* _struct_result, PP_Resource ime_event) { 890 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 891 *_struct_result = iface->GetText(ime_event); 892 } 893 894 static uint32_t Pnacl_M13_PPB_IMEInputEvent_GetSegmentNumber(PP_Resource ime_event) { 895 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 896 return iface->GetSegmentNumber(ime_event); 897 } 898 899 static uint32_t Pnacl_M13_PPB_IMEInputEvent_GetSegmentOffset(PP_Resource ime_event, uint32_t index) { 900 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 901 return iface->GetSegmentOffset(ime_event, index); 902 } 903 904 static int32_t Pnacl_M13_PPB_IMEInputEvent_GetTargetSegment(PP_Resource ime_event) { 905 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 906 return iface->GetTargetSegment(ime_event); 907 } 908 909 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event, uint32_t* start, uint32_t* end) { 910 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0.real_iface; 911 iface->GetSelection(ime_event, start, end); 912 } 913 914 /* End wrapper methods for PPB_IMEInputEvent_1_0 */ 915 916 /* Not generating wrapper methods for PPB_Instance_1_0 */ 917 918 /* Begin wrapper methods for PPB_MessageLoop_1_0 */ 919 920 static PP_Resource Pnacl_M25_PPB_MessageLoop_Create(PP_Instance instance) { 921 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 922 return iface->Create(instance); 923 } 924 925 static PP_Resource Pnacl_M25_PPB_MessageLoop_GetForMainThread(void) { 926 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 927 return iface->GetForMainThread(); 928 } 929 930 static PP_Resource Pnacl_M25_PPB_MessageLoop_GetCurrent(void) { 931 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 932 return iface->GetCurrent(); 933 } 934 935 static int32_t Pnacl_M25_PPB_MessageLoop_AttachToCurrentThread(PP_Resource message_loop) { 936 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 937 return iface->AttachToCurrentThread(message_loop); 938 } 939 940 static int32_t Pnacl_M25_PPB_MessageLoop_Run(PP_Resource message_loop) { 941 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 942 return iface->Run(message_loop); 943 } 944 945 static int32_t Pnacl_M25_PPB_MessageLoop_PostWork(PP_Resource message_loop, struct PP_CompletionCallback* callback, int64_t delay_ms) { 946 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 947 return iface->PostWork(message_loop, *callback, delay_ms); 948 } 949 950 static int32_t Pnacl_M25_PPB_MessageLoop_PostQuit(PP_Resource message_loop, PP_Bool should_destroy) { 951 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_0.real_iface; 952 return iface->PostQuit(message_loop, should_destroy); 953 } 954 955 /* End wrapper methods for PPB_MessageLoop_1_0 */ 956 957 /* Begin wrapper methods for PPB_Messaging_1_0 */ 958 959 static void Pnacl_M14_PPB_Messaging_PostMessage(PP_Instance instance, struct PP_Var* message) { 960 const struct PPB_Messaging_1_0 *iface = Pnacl_WrapperInfo_PPB_Messaging_1_0.real_iface; 961 iface->PostMessage(instance, *message); 962 } 963 964 /* End wrapper methods for PPB_Messaging_1_0 */ 965 966 /* Not generating wrapper methods for PPB_MouseCursor_1_0 */ 967 968 /* Begin wrapper methods for PPB_MouseLock_1_0 */ 969 970 static int32_t Pnacl_M16_PPB_MouseLock_LockMouse(PP_Instance instance, struct PP_CompletionCallback* callback) { 971 const struct PPB_MouseLock_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseLock_1_0.real_iface; 972 return iface->LockMouse(instance, *callback); 973 } 974 975 static void Pnacl_M16_PPB_MouseLock_UnlockMouse(PP_Instance instance) { 976 const struct PPB_MouseLock_1_0 *iface = Pnacl_WrapperInfo_PPB_MouseLock_1_0.real_iface; 977 iface->UnlockMouse(instance); 978 } 979 980 /* End wrapper methods for PPB_MouseLock_1_0 */ 981 982 /* Begin wrapper methods for PPB_NetAddress_1_0 */ 983 984 static PP_Resource Pnacl_M29_PPB_NetAddress_CreateFromIPv4Address(PP_Instance instance, const struct PP_NetAddress_IPv4* ipv4_addr) { 985 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 986 return iface->CreateFromIPv4Address(instance, ipv4_addr); 987 } 988 989 static PP_Resource Pnacl_M29_PPB_NetAddress_CreateFromIPv6Address(PP_Instance instance, const struct PP_NetAddress_IPv6* ipv6_addr) { 990 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 991 return iface->CreateFromIPv6Address(instance, ipv6_addr); 992 } 993 994 static PP_Bool Pnacl_M29_PPB_NetAddress_IsNetAddress(PP_Resource resource) { 995 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 996 return iface->IsNetAddress(resource); 997 } 998 999 static PP_NetAddress_Family Pnacl_M29_PPB_NetAddress_GetFamily(PP_Resource addr) { 1000 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 1001 return iface->GetFamily(addr); 1002 } 1003 1004 static void Pnacl_M29_PPB_NetAddress_DescribeAsString(struct PP_Var* _struct_result, PP_Resource addr, PP_Bool include_port) { 1005 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 1006 *_struct_result = iface->DescribeAsString(addr, include_port); 1007 } 1008 1009 static PP_Bool Pnacl_M29_PPB_NetAddress_DescribeAsIPv4Address(PP_Resource addr, struct PP_NetAddress_IPv4* ipv4_addr) { 1010 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 1011 return iface->DescribeAsIPv4Address(addr, ipv4_addr); 1012 } 1013 1014 static PP_Bool Pnacl_M29_PPB_NetAddress_DescribeAsIPv6Address(PP_Resource addr, struct PP_NetAddress_IPv6* ipv6_addr) { 1015 const struct PPB_NetAddress_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_1_0.real_iface; 1016 return iface->DescribeAsIPv6Address(addr, ipv6_addr); 1017 } 1018 1019 /* End wrapper methods for PPB_NetAddress_1_0 */ 1020 1021 /* Begin wrapper methods for PPB_NetworkList_1_0 */ 1022 1023 static PP_Bool Pnacl_M31_PPB_NetworkList_IsNetworkList(PP_Resource resource) { 1024 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1025 return iface->IsNetworkList(resource); 1026 } 1027 1028 static uint32_t Pnacl_M31_PPB_NetworkList_GetCount(PP_Resource resource) { 1029 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1030 return iface->GetCount(resource); 1031 } 1032 1033 static void Pnacl_M31_PPB_NetworkList_GetName(struct PP_Var* _struct_result, PP_Resource resource, uint32_t index) { 1034 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1035 *_struct_result = iface->GetName(resource, index); 1036 } 1037 1038 static PP_NetworkList_Type Pnacl_M31_PPB_NetworkList_GetType(PP_Resource resource, uint32_t index) { 1039 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1040 return iface->GetType(resource, index); 1041 } 1042 1043 static PP_NetworkList_State Pnacl_M31_PPB_NetworkList_GetState(PP_Resource resource, uint32_t index) { 1044 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1045 return iface->GetState(resource, index); 1046 } 1047 1048 static int32_t Pnacl_M31_PPB_NetworkList_GetIpAddresses(PP_Resource resource, uint32_t index, struct PP_ArrayOutput* output) { 1049 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1050 return iface->GetIpAddresses(resource, index, *output); 1051 } 1052 1053 static void Pnacl_M31_PPB_NetworkList_GetDisplayName(struct PP_Var* _struct_result, PP_Resource resource, uint32_t index) { 1054 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1055 *_struct_result = iface->GetDisplayName(resource, index); 1056 } 1057 1058 static uint32_t Pnacl_M31_PPB_NetworkList_GetMTU(PP_Resource resource, uint32_t index) { 1059 const struct PPB_NetworkList_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkList_1_0.real_iface; 1060 return iface->GetMTU(resource, index); 1061 } 1062 1063 /* End wrapper methods for PPB_NetworkList_1_0 */ 1064 1065 /* Begin wrapper methods for PPB_NetworkMonitor_1_0 */ 1066 1067 static PP_Resource Pnacl_M31_PPB_NetworkMonitor_Create(PP_Instance instance) { 1068 const struct PPB_NetworkMonitor_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0.real_iface; 1069 return iface->Create(instance); 1070 } 1071 1072 static int32_t Pnacl_M31_PPB_NetworkMonitor_UpdateNetworkList(PP_Resource network_monitor, PP_Resource* network_list, struct PP_CompletionCallback* callback) { 1073 const struct PPB_NetworkMonitor_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0.real_iface; 1074 return iface->UpdateNetworkList(network_monitor, network_list, *callback); 1075 } 1076 1077 static PP_Bool Pnacl_M31_PPB_NetworkMonitor_IsNetworkMonitor(PP_Resource resource) { 1078 const struct PPB_NetworkMonitor_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0.real_iface; 1079 return iface->IsNetworkMonitor(resource); 1080 } 1081 1082 /* End wrapper methods for PPB_NetworkMonitor_1_0 */ 1083 1084 /* Begin wrapper methods for PPB_NetworkProxy_1_0 */ 1085 1086 static int32_t Pnacl_M29_PPB_NetworkProxy_GetProxyForURL(PP_Instance instance, struct PP_Var* url, struct PP_Var* proxy_string, struct PP_CompletionCallback* callback) { 1087 const struct PPB_NetworkProxy_1_0 *iface = Pnacl_WrapperInfo_PPB_NetworkProxy_1_0.real_iface; 1088 return iface->GetProxyForURL(instance, *url, proxy_string, *callback); 1089 } 1090 1091 /* End wrapper methods for PPB_NetworkProxy_1_0 */ 1092 1093 /* Begin wrapper methods for PPB_TCPSocket_1_0 */ 1094 1095 static PP_Resource Pnacl_M29_PPB_TCPSocket_Create(PP_Instance instance) { 1096 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1097 return iface->Create(instance); 1098 } 1099 1100 static PP_Bool Pnacl_M29_PPB_TCPSocket_IsTCPSocket(PP_Resource resource) { 1101 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1102 return iface->IsTCPSocket(resource); 1103 } 1104 1105 static int32_t Pnacl_M29_PPB_TCPSocket_Connect(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback* callback) { 1106 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1107 return iface->Connect(tcp_socket, addr, *callback); 1108 } 1109 1110 static PP_Resource Pnacl_M29_PPB_TCPSocket_GetLocalAddress(PP_Resource tcp_socket) { 1111 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1112 return iface->GetLocalAddress(tcp_socket); 1113 } 1114 1115 static PP_Resource Pnacl_M29_PPB_TCPSocket_GetRemoteAddress(PP_Resource tcp_socket) { 1116 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1117 return iface->GetRemoteAddress(tcp_socket); 1118 } 1119 1120 static int32_t Pnacl_M29_PPB_TCPSocket_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 1121 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1122 return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); 1123 } 1124 1125 static int32_t Pnacl_M29_PPB_TCPSocket_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 1126 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1127 return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); 1128 } 1129 1130 static void Pnacl_M29_PPB_TCPSocket_Close(PP_Resource tcp_socket) { 1131 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1132 iface->Close(tcp_socket); 1133 } 1134 1135 static int32_t Pnacl_M29_PPB_TCPSocket_SetOption(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var* value, struct PP_CompletionCallback* callback) { 1136 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.real_iface; 1137 return iface->SetOption(tcp_socket, name, *value, *callback); 1138 } 1139 1140 /* End wrapper methods for PPB_TCPSocket_1_0 */ 1141 1142 /* Begin wrapper methods for PPB_TCPSocket_1_1 */ 1143 1144 static PP_Resource Pnacl_M31_PPB_TCPSocket_Create(PP_Instance instance) { 1145 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1146 return iface->Create(instance); 1147 } 1148 1149 static PP_Bool Pnacl_M31_PPB_TCPSocket_IsTCPSocket(PP_Resource resource) { 1150 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1151 return iface->IsTCPSocket(resource); 1152 } 1153 1154 static int32_t Pnacl_M31_PPB_TCPSocket_Bind(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback* callback) { 1155 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1156 return iface->Bind(tcp_socket, addr, *callback); 1157 } 1158 1159 static int32_t Pnacl_M31_PPB_TCPSocket_Connect(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback* callback) { 1160 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1161 return iface->Connect(tcp_socket, addr, *callback); 1162 } 1163 1164 static PP_Resource Pnacl_M31_PPB_TCPSocket_GetLocalAddress(PP_Resource tcp_socket) { 1165 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1166 return iface->GetLocalAddress(tcp_socket); 1167 } 1168 1169 static PP_Resource Pnacl_M31_PPB_TCPSocket_GetRemoteAddress(PP_Resource tcp_socket) { 1170 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1171 return iface->GetRemoteAddress(tcp_socket); 1172 } 1173 1174 static int32_t Pnacl_M31_PPB_TCPSocket_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 1175 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1176 return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); 1177 } 1178 1179 static int32_t Pnacl_M31_PPB_TCPSocket_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 1180 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1181 return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); 1182 } 1183 1184 static int32_t Pnacl_M31_PPB_TCPSocket_Listen(PP_Resource tcp_socket, int32_t backlog, struct PP_CompletionCallback* callback) { 1185 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1186 return iface->Listen(tcp_socket, backlog, *callback); 1187 } 1188 1189 static int32_t Pnacl_M31_PPB_TCPSocket_Accept(PP_Resource tcp_socket, PP_Resource* accepted_tcp_socket, struct PP_CompletionCallback* callback) { 1190 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1191 return iface->Accept(tcp_socket, accepted_tcp_socket, *callback); 1192 } 1193 1194 static void Pnacl_M31_PPB_TCPSocket_Close(PP_Resource tcp_socket) { 1195 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1196 iface->Close(tcp_socket); 1197 } 1198 1199 static int32_t Pnacl_M31_PPB_TCPSocket_SetOption(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var* value, struct PP_CompletionCallback* callback) { 1200 const struct PPB_TCPSocket_1_1 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_1.real_iface; 1201 return iface->SetOption(tcp_socket, name, *value, *callback); 1202 } 1203 1204 /* End wrapper methods for PPB_TCPSocket_1_1 */ 1205 1206 /* Begin wrapper methods for PPB_TextInputController_1_0 */ 1207 1208 static void Pnacl_M30_PPB_TextInputController_SetTextInputType(PP_Instance instance, PP_TextInput_Type type) { 1209 const struct PPB_TextInputController_1_0 *iface = Pnacl_WrapperInfo_PPB_TextInputController_1_0.real_iface; 1210 iface->SetTextInputType(instance, type); 1211 } 1212 1213 static void Pnacl_M30_PPB_TextInputController_UpdateCaretPosition(PP_Instance instance, const struct PP_Rect* caret) { 1214 const struct PPB_TextInputController_1_0 *iface = Pnacl_WrapperInfo_PPB_TextInputController_1_0.real_iface; 1215 iface->UpdateCaretPosition(instance, caret); 1216 } 1217 1218 static void Pnacl_M30_PPB_TextInputController_CancelCompositionText(PP_Instance instance) { 1219 const struct PPB_TextInputController_1_0 *iface = Pnacl_WrapperInfo_PPB_TextInputController_1_0.real_iface; 1220 iface->CancelCompositionText(instance); 1221 } 1222 1223 static void Pnacl_M30_PPB_TextInputController_UpdateSurroundingText(PP_Instance instance, struct PP_Var* text, uint32_t caret, uint32_t anchor) { 1224 const struct PPB_TextInputController_1_0 *iface = Pnacl_WrapperInfo_PPB_TextInputController_1_0.real_iface; 1225 iface->UpdateSurroundingText(instance, *text, caret, anchor); 1226 } 1227 1228 /* End wrapper methods for PPB_TextInputController_1_0 */ 1229 1230 /* Begin wrapper methods for PPB_UDPSocket_1_0 */ 1231 1232 static PP_Resource Pnacl_M29_PPB_UDPSocket_Create(PP_Instance instance) { 1233 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1234 return iface->Create(instance); 1235 } 1236 1237 static PP_Bool Pnacl_M29_PPB_UDPSocket_IsUDPSocket(PP_Resource resource) { 1238 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1239 return iface->IsUDPSocket(resource); 1240 } 1241 1242 static int32_t Pnacl_M29_PPB_UDPSocket_Bind(PP_Resource udp_socket, PP_Resource addr, struct PP_CompletionCallback* callback) { 1243 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1244 return iface->Bind(udp_socket, addr, *callback); 1245 } 1246 1247 static PP_Resource Pnacl_M29_PPB_UDPSocket_GetBoundAddress(PP_Resource udp_socket) { 1248 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1249 return iface->GetBoundAddress(udp_socket); 1250 } 1251 1252 static int32_t Pnacl_M29_PPB_UDPSocket_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, PP_Resource* addr, struct PP_CompletionCallback* callback) { 1253 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1254 return iface->RecvFrom(udp_socket, buffer, num_bytes, addr, *callback); 1255 } 1256 1257 static int32_t Pnacl_M29_PPB_UDPSocket_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, PP_Resource addr, struct PP_CompletionCallback* callback) { 1258 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1259 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); 1260 } 1261 1262 static void Pnacl_M29_PPB_UDPSocket_Close(PP_Resource udp_socket) { 1263 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1264 iface->Close(udp_socket); 1265 } 1266 1267 static int32_t Pnacl_M29_PPB_UDPSocket_SetOption(PP_Resource udp_socket, PP_UDPSocket_Option name, struct PP_Var* value, struct PP_CompletionCallback* callback) { 1268 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.real_iface; 1269 return iface->SetOption(udp_socket, name, *value, *callback); 1270 } 1271 1272 /* End wrapper methods for PPB_UDPSocket_1_0 */ 1273 1274 /* Begin wrapper methods for PPB_URLLoader_1_0 */ 1275 1276 static PP_Resource Pnacl_M14_PPB_URLLoader_Create(PP_Instance instance) { 1277 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1278 return iface->Create(instance); 1279 } 1280 1281 static PP_Bool Pnacl_M14_PPB_URLLoader_IsURLLoader(PP_Resource resource) { 1282 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1283 return iface->IsURLLoader(resource); 1284 } 1285 1286 static int32_t Pnacl_M14_PPB_URLLoader_Open(PP_Resource loader, PP_Resource request_info, struct PP_CompletionCallback* callback) { 1287 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1288 return iface->Open(loader, request_info, *callback); 1289 } 1290 1291 static int32_t Pnacl_M14_PPB_URLLoader_FollowRedirect(PP_Resource loader, struct PP_CompletionCallback* callback) { 1292 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1293 return iface->FollowRedirect(loader, *callback); 1294 } 1295 1296 static PP_Bool Pnacl_M14_PPB_URLLoader_GetUploadProgress(PP_Resource loader, int64_t* bytes_sent, int64_t* total_bytes_to_be_sent) { 1297 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1298 return iface->GetUploadProgress(loader, bytes_sent, total_bytes_to_be_sent); 1299 } 1300 1301 static PP_Bool Pnacl_M14_PPB_URLLoader_GetDownloadProgress(PP_Resource loader, int64_t* bytes_received, int64_t* total_bytes_to_be_received) { 1302 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1303 return iface->GetDownloadProgress(loader, bytes_received, total_bytes_to_be_received); 1304 } 1305 1306 static PP_Resource Pnacl_M14_PPB_URLLoader_GetResponseInfo(PP_Resource loader) { 1307 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1308 return iface->GetResponseInfo(loader); 1309 } 1310 1311 static int32_t Pnacl_M14_PPB_URLLoader_ReadResponseBody(PP_Resource loader, void* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 1312 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1313 return iface->ReadResponseBody(loader, buffer, bytes_to_read, *callback); 1314 } 1315 1316 static int32_t Pnacl_M14_PPB_URLLoader_FinishStreamingToFile(PP_Resource loader, struct PP_CompletionCallback* callback) { 1317 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1318 return iface->FinishStreamingToFile(loader, *callback); 1319 } 1320 1321 static void Pnacl_M14_PPB_URLLoader_Close(PP_Resource loader) { 1322 const struct PPB_URLLoader_1_0 *iface = Pnacl_WrapperInfo_PPB_URLLoader_1_0.real_iface; 1323 iface->Close(loader); 1324 } 1325 1326 /* End wrapper methods for PPB_URLLoader_1_0 */ 1327 1328 /* Begin wrapper methods for PPB_URLRequestInfo_1_0 */ 1329 1330 static PP_Resource Pnacl_M14_PPB_URLRequestInfo_Create(PP_Instance instance) { 1331 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0.real_iface; 1332 return iface->Create(instance); 1333 } 1334 1335 static PP_Bool Pnacl_M14_PPB_URLRequestInfo_IsURLRequestInfo(PP_Resource resource) { 1336 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0.real_iface; 1337 return iface->IsURLRequestInfo(resource); 1338 } 1339 1340 static PP_Bool Pnacl_M14_PPB_URLRequestInfo_SetProperty(PP_Resource request, PP_URLRequestProperty property, struct PP_Var* value) { 1341 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0.real_iface; 1342 return iface->SetProperty(request, property, *value); 1343 } 1344 1345 static PP_Bool Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody(PP_Resource request, const void* data, uint32_t len) { 1346 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0.real_iface; 1347 return iface->AppendDataToBody(request, data, len); 1348 } 1349 1350 static PP_Bool Pnacl_M14_PPB_URLRequestInfo_AppendFileToBody(PP_Resource request, PP_Resource file_ref, int64_t start_offset, int64_t number_of_bytes, PP_Time expected_last_modified_time) { 1351 const struct PPB_URLRequestInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0.real_iface; 1352 return iface->AppendFileToBody(request, file_ref, start_offset, number_of_bytes, expected_last_modified_time); 1353 } 1354 1355 /* End wrapper methods for PPB_URLRequestInfo_1_0 */ 1356 1357 /* Begin wrapper methods for PPB_URLResponseInfo_1_0 */ 1358 1359 static PP_Bool Pnacl_M14_PPB_URLResponseInfo_IsURLResponseInfo(PP_Resource resource) { 1360 const struct PPB_URLResponseInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0.real_iface; 1361 return iface->IsURLResponseInfo(resource); 1362 } 1363 1364 static void Pnacl_M14_PPB_URLResponseInfo_GetProperty(struct PP_Var* _struct_result, PP_Resource response, PP_URLResponseProperty property) { 1365 const struct PPB_URLResponseInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0.real_iface; 1366 *_struct_result = iface->GetProperty(response, property); 1367 } 1368 1369 static PP_Resource Pnacl_M14_PPB_URLResponseInfo_GetBodyAsFileRef(PP_Resource response) { 1370 const struct PPB_URLResponseInfo_1_0 *iface = Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0.real_iface; 1371 return iface->GetBodyAsFileRef(response); 1372 } 1373 1374 /* End wrapper methods for PPB_URLResponseInfo_1_0 */ 1375 1376 /* Begin wrapper methods for PPB_Var_1_0 */ 1377 1378 static void Pnacl_M14_PPB_Var_AddRef(struct PP_Var* var) { 1379 const struct PPB_Var_1_0 *iface = Pnacl_WrapperInfo_PPB_Var_1_0.real_iface; 1380 iface->AddRef(*var); 1381 } 1382 1383 static void Pnacl_M14_PPB_Var_Release(struct PP_Var* var) { 1384 const struct PPB_Var_1_0 *iface = Pnacl_WrapperInfo_PPB_Var_1_0.real_iface; 1385 iface->Release(*var); 1386 } 1387 1388 static void Pnacl_M14_PPB_Var_VarFromUtf8(struct PP_Var* _struct_result, PP_Module module, const char* data, uint32_t len) { 1389 const struct PPB_Var_1_0 *iface = Pnacl_WrapperInfo_PPB_Var_1_0.real_iface; 1390 *_struct_result = iface->VarFromUtf8(module, data, len); 1391 } 1392 1393 static const char* Pnacl_M14_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len) { 1394 const struct PPB_Var_1_0 *iface = Pnacl_WrapperInfo_PPB_Var_1_0.real_iface; 1395 return iface->VarToUtf8(*var, len); 1396 } 1397 1398 /* End wrapper methods for PPB_Var_1_0 */ 1399 1400 /* Begin wrapper methods for PPB_Var_1_1 */ 1401 1402 static void Pnacl_M18_PPB_Var_AddRef(struct PP_Var* var) { 1403 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface; 1404 iface->AddRef(*var); 1405 } 1406 1407 static void Pnacl_M18_PPB_Var_Release(struct PP_Var* var) { 1408 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface; 1409 iface->Release(*var); 1410 } 1411 1412 static void Pnacl_M18_PPB_Var_VarFromUtf8(struct PP_Var* _struct_result, const char* data, uint32_t len) { 1413 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface; 1414 *_struct_result = iface->VarFromUtf8(data, len); 1415 } 1416 1417 static const char* Pnacl_M18_PPB_Var_VarToUtf8(struct PP_Var* var, uint32_t* len) { 1418 const struct PPB_Var_1_1 *iface = Pnacl_WrapperInfo_PPB_Var_1_1.real_iface; 1419 return iface->VarToUtf8(*var, len); 1420 } 1421 1422 /* End wrapper methods for PPB_Var_1_1 */ 1423 1424 /* Begin wrapper methods for PPB_VarArray_1_0 */ 1425 1426 static void Pnacl_M29_PPB_VarArray_Create(struct PP_Var* _struct_result) { 1427 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real_iface; 1428 *_struct_result = iface->Create(); 1429 } 1430 1431 static void Pnacl_M29_PPB_VarArray_Get(struct PP_Var* _struct_result, struct PP_Var* array, uint32_t index) { 1432 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real_iface; 1433 *_struct_result = iface->Get(*array, index); 1434 } 1435 1436 static PP_Bool Pnacl_M29_PPB_VarArray_Set(struct PP_Var* array, uint32_t index, struct PP_Var* value) { 1437 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real_iface; 1438 return iface->Set(*array, index, *value); 1439 } 1440 1441 static uint32_t Pnacl_M29_PPB_VarArray_GetLength(struct PP_Var* array) { 1442 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real_iface; 1443 return iface->GetLength(*array); 1444 } 1445 1446 static PP_Bool Pnacl_M29_PPB_VarArray_SetLength(struct PP_Var* array, uint32_t length) { 1447 const struct PPB_VarArray_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArray_1_0.real_iface; 1448 return iface->SetLength(*array, length); 1449 } 1450 1451 /* End wrapper methods for PPB_VarArray_1_0 */ 1452 1453 /* Begin wrapper methods for PPB_VarArrayBuffer_1_0 */ 1454 1455 static void Pnacl_M18_PPB_VarArrayBuffer_Create(struct PP_Var* _struct_result, uint32_t size_in_bytes) { 1456 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0.real_iface; 1457 *_struct_result = iface->Create(size_in_bytes); 1458 } 1459 1460 static PP_Bool Pnacl_M18_PPB_VarArrayBuffer_ByteLength(struct PP_Var* array, uint32_t* byte_length) { 1461 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0.real_iface; 1462 return iface->ByteLength(*array, byte_length); 1463 } 1464 1465 static void* Pnacl_M18_PPB_VarArrayBuffer_Map(struct PP_Var* array) { 1466 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0.real_iface; 1467 return iface->Map(*array); 1468 } 1469 1470 static void Pnacl_M18_PPB_VarArrayBuffer_Unmap(struct PP_Var* array) { 1471 const struct PPB_VarArrayBuffer_1_0 *iface = Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0.real_iface; 1472 iface->Unmap(*array); 1473 } 1474 1475 /* End wrapper methods for PPB_VarArrayBuffer_1_0 */ 1476 1477 /* Begin wrapper methods for PPB_VarDictionary_1_0 */ 1478 1479 static void Pnacl_M29_PPB_VarDictionary_Create(struct PP_Var* _struct_result) { 1480 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1481 *_struct_result = iface->Create(); 1482 } 1483 1484 static void Pnacl_M29_PPB_VarDictionary_Get(struct PP_Var* _struct_result, struct PP_Var* dict, struct PP_Var* key) { 1485 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1486 *_struct_result = iface->Get(*dict, *key); 1487 } 1488 1489 static PP_Bool Pnacl_M29_PPB_VarDictionary_Set(struct PP_Var* dict, struct PP_Var* key, struct PP_Var* value) { 1490 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1491 return iface->Set(*dict, *key, *value); 1492 } 1493 1494 static void Pnacl_M29_PPB_VarDictionary_Delete(struct PP_Var* dict, struct PP_Var* key) { 1495 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1496 iface->Delete(*dict, *key); 1497 } 1498 1499 static PP_Bool Pnacl_M29_PPB_VarDictionary_HasKey(struct PP_Var* dict, struct PP_Var* key) { 1500 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1501 return iface->HasKey(*dict, *key); 1502 } 1503 1504 static void Pnacl_M29_PPB_VarDictionary_GetKeys(struct PP_Var* _struct_result, struct PP_Var* dict) { 1505 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionary_1_0.real_iface; 1506 *_struct_result = iface->GetKeys(*dict); 1507 } 1508 1509 /* End wrapper methods for PPB_VarDictionary_1_0 */ 1510 1511 /* Not generating wrapper methods for PPB_View_1_0 */ 1512 1513 /* Not generating wrapper methods for PPB_View_1_1 */ 1514 1515 /* Begin wrapper methods for PPB_WebSocket_1_0 */ 1516 1517 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { 1518 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1519 return iface->Create(instance); 1520 } 1521 1522 static PP_Bool Pnacl_M18_PPB_WebSocket_IsWebSocket(PP_Resource resource) { 1523 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1524 return iface->IsWebSocket(resource); 1525 } 1526 1527 static int32_t Pnacl_M18_PPB_WebSocket_Connect(PP_Resource web_socket, struct PP_Var* url, const struct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback* callback) { 1528 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1529 return iface->Connect(web_socket, *url, protocols, protocol_count, *callback); 1530 } 1531 1532 static int32_t Pnacl_M18_PPB_WebSocket_Close(PP_Resource web_socket, uint16_t code, struct PP_Var* reason, struct PP_CompletionCallback* callback) { 1533 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1534 return iface->Close(web_socket, code, *reason, *callback); 1535 } 1536 1537 static int32_t Pnacl_M18_PPB_WebSocket_ReceiveMessage(PP_Resource web_socket, struct PP_Var* message, struct PP_CompletionCallback* callback) { 1538 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1539 return iface->ReceiveMessage(web_socket, message, *callback); 1540 } 1541 1542 static int32_t Pnacl_M18_PPB_WebSocket_SendMessage(PP_Resource web_socket, struct PP_Var* message) { 1543 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1544 return iface->SendMessage(web_socket, *message); 1545 } 1546 1547 static uint64_t Pnacl_M18_PPB_WebSocket_GetBufferedAmount(PP_Resource web_socket) { 1548 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1549 return iface->GetBufferedAmount(web_socket); 1550 } 1551 1552 static uint16_t Pnacl_M18_PPB_WebSocket_GetCloseCode(PP_Resource web_socket) { 1553 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1554 return iface->GetCloseCode(web_socket); 1555 } 1556 1557 static void Pnacl_M18_PPB_WebSocket_GetCloseReason(struct PP_Var* _struct_result, PP_Resource web_socket) { 1558 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1559 *_struct_result = iface->GetCloseReason(web_socket); 1560 } 1561 1562 static PP_Bool Pnacl_M18_PPB_WebSocket_GetCloseWasClean(PP_Resource web_socket) { 1563 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1564 return iface->GetCloseWasClean(web_socket); 1565 } 1566 1567 static void Pnacl_M18_PPB_WebSocket_GetExtensions(struct PP_Var* _struct_result, PP_Resource web_socket) { 1568 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1569 *_struct_result = iface->GetExtensions(web_socket); 1570 } 1571 1572 static void Pnacl_M18_PPB_WebSocket_GetProtocol(struct PP_Var* _struct_result, PP_Resource web_socket) { 1573 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1574 *_struct_result = iface->GetProtocol(web_socket); 1575 } 1576 1577 static PP_WebSocketReadyState Pnacl_M18_PPB_WebSocket_GetReadyState(PP_Resource web_socket) { 1578 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1579 return iface->GetReadyState(web_socket); 1580 } 1581 1582 static void Pnacl_M18_PPB_WebSocket_GetURL(struct PP_Var* _struct_result, PP_Resource web_socket) { 1583 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.real_iface; 1584 *_struct_result = iface->GetURL(web_socket); 1585 } 1586 1587 /* End wrapper methods for PPB_WebSocket_1_0 */ 1588 1589 /* Not generating wrapper methods for PPP_Graphics3D_1_0 */ 1590 1591 /* Not generating wrapper methods for PPP_InputEvent_0_1 */ 1592 1593 /* Not generating wrapper methods for PPP_Instance_1_0 */ 1594 1595 /* Not generating wrapper methods for PPP_Instance_1_1 */ 1596 1597 /* Begin wrapper methods for PPP_Messaging_1_0 */ 1598 1599 static void Pnacl_M14_PPP_Messaging_HandleMessage(PP_Instance instance, struct PP_Var message) { 1600 const struct PPP_Messaging_1_0 *iface = Pnacl_WrapperInfo_PPP_Messaging_1_0.real_iface; 1601 void (*temp_fp)(PP_Instance instance, struct PP_Var* message) = 1602 ((void (*)(PP_Instance instance, struct PP_Var* message))iface->HandleMessage); 1603 temp_fp(instance, &message); 1604 } 1605 1606 /* End wrapper methods for PPP_Messaging_1_0 */ 1607 1608 /* Not generating wrapper methods for PPP_MouseLock_1_0 */ 1609 1610 /* Not generating wrapper methods for PPB_BrokerTrusted_0_2 */ 1611 1612 /* Not generating wrapper methods for PPB_BrokerTrusted_0_3 */ 1613 1614 /* Not generating wrapper methods for PPB_BrowserFont_Trusted_1_0 */ 1615 1616 /* Not generating wrapper methods for PPB_CharSet_Trusted_1_0 */ 1617 1618 /* Not generating wrapper methods for PPB_FileChooserTrusted_0_5 */ 1619 1620 /* Not generating wrapper methods for PPB_FileChooserTrusted_0_6 */ 1621 1622 /* Not generating wrapper methods for PPB_URLLoaderTrusted_0_3 */ 1623 1624 /* Begin wrapper methods for PPB_Alarms_Dev_0_1 */ 1625 1626 static void Pnacl_M33_PPB_Alarms_Dev_Create(PP_Instance instance, struct PP_Var* name, const struct PP_Alarms_AlarmCreateInfo_Dev* alarm_info) { 1627 const struct PPB_Alarms_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1.real_iface; 1628 iface->Create(instance, *name, alarm_info); 1629 } 1630 1631 static int32_t Pnacl_M33_PPB_Alarms_Dev_Get(PP_Instance instance, struct PP_Var* name, struct PP_Alarms_Alarm_Dev* alarm, struct PP_CompletionCallback* callback) { 1632 const struct PPB_Alarms_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1.real_iface; 1633 return iface->Get(instance, *name, alarm, *callback); 1634 } 1635 1636 static int32_t Pnacl_M33_PPB_Alarms_Dev_GetAll(PP_Instance instance, struct PP_Alarms_Alarm_Array_Dev* alarms, struct PP_ArrayOutput* array_allocator, struct PP_CompletionCallback* callback) { 1637 const struct PPB_Alarms_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1.real_iface; 1638 return iface->GetAll(instance, alarms, *array_allocator, *callback); 1639 } 1640 1641 static void Pnacl_M33_PPB_Alarms_Dev_Clear(PP_Instance instance, struct PP_Var* name) { 1642 const struct PPB_Alarms_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1.real_iface; 1643 iface->Clear(instance, *name); 1644 } 1645 1646 static void Pnacl_M33_PPB_Alarms_Dev_ClearAll(PP_Instance instance) { 1647 const struct PPB_Alarms_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1.real_iface; 1648 iface->ClearAll(instance); 1649 } 1650 1651 static uint32_t Pnacl_M33_PPB_Alarms_Dev_AddOnAlarmListener(PP_Instance instance, PP_Alarms_OnAlarm_Dev callback, void* user_data) { 1652 const struct PPB_Alarms_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1.real_iface; 1653 return iface->AddOnAlarmListener(instance, callback, user_data); 1654 } 1655 1656 /* End wrapper methods for PPB_Alarms_Dev_0_1 */ 1657 1658 /* Begin wrapper methods for PPB_AudioInput_Dev_0_2 */ 1659 1660 static PP_Resource Pnacl_M19_PPB_AudioInput_Dev_Create(PP_Instance instance) { 1661 const struct PPB_AudioInput_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2.real_iface; 1662 return iface->Create(instance); 1663 } 1664 1665 static PP_Bool Pnacl_M19_PPB_AudioInput_Dev_IsAudioInput(PP_Resource resource) { 1666 const struct PPB_AudioInput_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2.real_iface; 1667 return iface->IsAudioInput(resource); 1668 } 1669 1670 static int32_t Pnacl_M19_PPB_AudioInput_Dev_EnumerateDevices(PP_Resource audio_input, PP_Resource* devices, struct PP_CompletionCallback* callback) { 1671 const struct PPB_AudioInput_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2.real_iface; 1672 return iface->EnumerateDevices(audio_input, devices, *callback); 1673 } 1674 1675 static int32_t Pnacl_M19_PPB_AudioInput_Dev_Open(PP_Resource audio_input, PP_Resource device_ref, PP_Resource config, PPB_AudioInput_Callback_0_2 audio_input_callback, void* user_data, struct PP_CompletionCallback* callback) { 1676 const struct PPB_AudioInput_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2.real_iface; 1677 return iface->Open(audio_input, device_ref, config, audio_input_callback, user_data, *callback); 1678 } 1679 1680 static PP_Resource Pnacl_M19_PPB_AudioInput_Dev_GetCurrentConfig(PP_Resource audio_input) { 1681 const struct PPB_AudioInput_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2.real_iface; 1682 return iface->GetCurrentConfig(audio_input); 1683 } 1684 1685 static PP_Bool Pnacl_M19_PPB_AudioInput_Dev_StartCapture(PP_Resource audio_input) { 1686 const struct PPB_AudioInput_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2.real_iface; 1687 return iface->StartCapture(audio_input); 1688 } 1689 1690 static PP_Bool Pnacl_M19_PPB_AudioInput_Dev_StopCapture(PP_Resource audio_input) { 1691 const struct PPB_AudioInput_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2.real_iface; 1692 return iface->StopCapture(audio_input); 1693 } 1694 1695 static void Pnacl_M19_PPB_AudioInput_Dev_Close(PP_Resource audio_input) { 1696 const struct PPB_AudioInput_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2.real_iface; 1697 iface->Close(audio_input); 1698 } 1699 1700 /* End wrapper methods for PPB_AudioInput_Dev_0_2 */ 1701 1702 /* Begin wrapper methods for PPB_AudioInput_Dev_0_3 */ 1703 1704 static PP_Resource Pnacl_M25_PPB_AudioInput_Dev_Create(PP_Instance instance) { 1705 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 1706 return iface->Create(instance); 1707 } 1708 1709 static PP_Bool Pnacl_M25_PPB_AudioInput_Dev_IsAudioInput(PP_Resource resource) { 1710 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 1711 return iface->IsAudioInput(resource); 1712 } 1713 1714 static int32_t Pnacl_M25_PPB_AudioInput_Dev_EnumerateDevices(PP_Resource audio_input, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 1715 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 1716 return iface->EnumerateDevices(audio_input, *output, *callback); 1717 } 1718 1719 static int32_t Pnacl_M25_PPB_AudioInput_Dev_MonitorDeviceChange(PP_Resource audio_input, PP_MonitorDeviceChangeCallback callback, void* user_data) { 1720 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 1721 return iface->MonitorDeviceChange(audio_input, callback, user_data); 1722 } 1723 1724 static int32_t Pnacl_M25_PPB_AudioInput_Dev_Open(PP_Resource audio_input, PP_Resource device_ref, PP_Resource config, PPB_AudioInput_Callback_0_2 audio_input_callback, void* user_data, struct PP_CompletionCallback* callback) { 1725 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 1726 return iface->Open(audio_input, device_ref, config, audio_input_callback, user_data, *callback); 1727 } 1728 1729 static PP_Resource Pnacl_M25_PPB_AudioInput_Dev_GetCurrentConfig(PP_Resource audio_input) { 1730 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 1731 return iface->GetCurrentConfig(audio_input); 1732 } 1733 1734 static PP_Bool Pnacl_M25_PPB_AudioInput_Dev_StartCapture(PP_Resource audio_input) { 1735 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 1736 return iface->StartCapture(audio_input); 1737 } 1738 1739 static PP_Bool Pnacl_M25_PPB_AudioInput_Dev_StopCapture(PP_Resource audio_input) { 1740 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 1741 return iface->StopCapture(audio_input); 1742 } 1743 1744 static void Pnacl_M25_PPB_AudioInput_Dev_Close(PP_Resource audio_input) { 1745 const struct PPB_AudioInput_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3.real_iface; 1746 iface->Close(audio_input); 1747 } 1748 1749 /* End wrapper methods for PPB_AudioInput_Dev_0_3 */ 1750 1751 /* Begin wrapper methods for PPB_AudioInput_Dev_0_4 */ 1752 1753 static PP_Resource Pnacl_M30_PPB_AudioInput_Dev_Create(PP_Instance instance) { 1754 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 1755 return iface->Create(instance); 1756 } 1757 1758 static PP_Bool Pnacl_M30_PPB_AudioInput_Dev_IsAudioInput(PP_Resource resource) { 1759 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 1760 return iface->IsAudioInput(resource); 1761 } 1762 1763 static int32_t Pnacl_M30_PPB_AudioInput_Dev_EnumerateDevices(PP_Resource audio_input, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 1764 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 1765 return iface->EnumerateDevices(audio_input, *output, *callback); 1766 } 1767 1768 static int32_t Pnacl_M30_PPB_AudioInput_Dev_MonitorDeviceChange(PP_Resource audio_input, PP_MonitorDeviceChangeCallback callback, void* user_data) { 1769 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 1770 return iface->MonitorDeviceChange(audio_input, callback, user_data); 1771 } 1772 1773 static int32_t Pnacl_M30_PPB_AudioInput_Dev_Open(PP_Resource audio_input, PP_Resource device_ref, PP_Resource config, PPB_AudioInput_Callback audio_input_callback, void* user_data, struct PP_CompletionCallback* callback) { 1774 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 1775 return iface->Open(audio_input, device_ref, config, audio_input_callback, user_data, *callback); 1776 } 1777 1778 static PP_Resource Pnacl_M30_PPB_AudioInput_Dev_GetCurrentConfig(PP_Resource audio_input) { 1779 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 1780 return iface->GetCurrentConfig(audio_input); 1781 } 1782 1783 static PP_Bool Pnacl_M30_PPB_AudioInput_Dev_StartCapture(PP_Resource audio_input) { 1784 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 1785 return iface->StartCapture(audio_input); 1786 } 1787 1788 static PP_Bool Pnacl_M30_PPB_AudioInput_Dev_StopCapture(PP_Resource audio_input) { 1789 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 1790 return iface->StopCapture(audio_input); 1791 } 1792 1793 static void Pnacl_M30_PPB_AudioInput_Dev_Close(PP_Resource audio_input) { 1794 const struct PPB_AudioInput_Dev_0_4 *iface = Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4.real_iface; 1795 iface->Close(audio_input); 1796 } 1797 1798 /* End wrapper methods for PPB_AudioInput_Dev_0_4 */ 1799 1800 /* Not generating wrapper methods for PPB_Buffer_Dev_0_4 */ 1801 1802 /* Not generating wrapper methods for PPB_Crypto_Dev_0_1 */ 1803 1804 /* Not generating wrapper methods for PPB_CursorControl_Dev_0_4 */ 1805 1806 /* Begin wrapper methods for PPB_DeviceRef_Dev_0_1 */ 1807 1808 static PP_Bool Pnacl_M18_PPB_DeviceRef_Dev_IsDeviceRef(PP_Resource resource) { 1809 const struct PPB_DeviceRef_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1.real_iface; 1810 return iface->IsDeviceRef(resource); 1811 } 1812 1813 static PP_DeviceType_Dev Pnacl_M18_PPB_DeviceRef_Dev_GetType(PP_Resource device_ref) { 1814 const struct PPB_DeviceRef_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1.real_iface; 1815 return iface->GetType(device_ref); 1816 } 1817 1818 static void Pnacl_M18_PPB_DeviceRef_Dev_GetName(struct PP_Var* _struct_result, PP_Resource device_ref) { 1819 const struct PPB_DeviceRef_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1.real_iface; 1820 *_struct_result = iface->GetName(device_ref); 1821 } 1822 1823 /* End wrapper methods for PPB_DeviceRef_Dev_0_1 */ 1824 1825 /* Begin wrapper methods for PPB_FileChooser_Dev_0_5 */ 1826 1827 static PP_Resource Pnacl_M16_PPB_FileChooser_Dev_Create(PP_Instance instance, PP_FileChooserMode_Dev mode, struct PP_Var* accept_types) { 1828 const struct PPB_FileChooser_Dev_0_5 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5.real_iface; 1829 return iface->Create(instance, mode, *accept_types); 1830 } 1831 1832 static PP_Bool Pnacl_M16_PPB_FileChooser_Dev_IsFileChooser(PP_Resource resource) { 1833 const struct PPB_FileChooser_Dev_0_5 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5.real_iface; 1834 return iface->IsFileChooser(resource); 1835 } 1836 1837 static int32_t Pnacl_M16_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP_CompletionCallback* callback) { 1838 const struct PPB_FileChooser_Dev_0_5 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5.real_iface; 1839 return iface->Show(chooser, *callback); 1840 } 1841 1842 static PP_Resource Pnacl_M16_PPB_FileChooser_Dev_GetNextChosenFile(PP_Resource chooser) { 1843 const struct PPB_FileChooser_Dev_0_5 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5.real_iface; 1844 return iface->GetNextChosenFile(chooser); 1845 } 1846 1847 /* End wrapper methods for PPB_FileChooser_Dev_0_5 */ 1848 1849 /* Begin wrapper methods for PPB_FileChooser_Dev_0_6 */ 1850 1851 static PP_Resource Pnacl_M19_PPB_FileChooser_Dev_Create(PP_Instance instance, PP_FileChooserMode_Dev mode, struct PP_Var* accept_types) { 1852 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6.real_iface; 1853 return iface->Create(instance, mode, *accept_types); 1854 } 1855 1856 static PP_Bool Pnacl_M19_PPB_FileChooser_Dev_IsFileChooser(PP_Resource resource) { 1857 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6.real_iface; 1858 return iface->IsFileChooser(resource); 1859 } 1860 1861 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 1862 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6.real_iface; 1863 return iface->Show(chooser, *output, *callback); 1864 } 1865 1866 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ 1867 1868 /* Begin wrapper methods for PPB_FileIO_Dev_0_1 */ 1869 1870 static int32_t Pnacl_M31_PPB_FileIO_Dev_Map(PP_Resource file_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCallback* callback) { 1871 const struct PPB_FileIO_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1.real_iface; 1872 return iface->Map(file_io, length, map_protection, map_flags, offset, address, *callback); 1873 } 1874 1875 static void Pnacl_M31_PPB_FileIO_Dev_Unmap(PP_Resource file_io, void* address, int64_t length) { 1876 const struct PPB_FileIO_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1.real_iface; 1877 iface->Unmap(file_io, address, length); 1878 } 1879 1880 static int64_t Pnacl_M31_PPB_FileIO_Dev_GetMapPageSize(PP_Resource file_io) { 1881 const struct PPB_FileIO_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1.real_iface; 1882 return iface->GetMapPageSize(file_io); 1883 } 1884 1885 /* End wrapper methods for PPB_FileIO_Dev_0_1 */ 1886 1887 /* Not generating wrapper methods for PPB_Find_Dev_0_3 */ 1888 1889 /* Begin wrapper methods for PPB_Font_Dev_0_6 */ 1890 1891 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var* _struct_result, PP_Instance instance) { 1892 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 1893 *_struct_result = iface->GetFontFamilies(instance); 1894 } 1895 1896 static PP_Resource Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance, const struct PP_FontDescription_Dev* description) { 1897 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 1898 return iface->Create(instance, description); 1899 } 1900 1901 static PP_Bool Pnacl_M14_PPB_Font_Dev_IsFont(PP_Resource resource) { 1902 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 1903 return iface->IsFont(resource); 1904 } 1905 1906 static PP_Bool Pnacl_M14_PPB_Font_Dev_Describe(PP_Resource font, struct PP_FontDescription_Dev* description, struct PP_FontMetrics_Dev* metrics) { 1907 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 1908 return iface->Describe(font, description, metrics); 1909 } 1910 1911 static PP_Bool Pnacl_M14_PPB_Font_Dev_DrawTextAt(PP_Resource font, PP_Resource image_data, const struct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, const struct PP_Rect* clip, PP_Bool image_data_is_opaque) { 1912 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 1913 return iface->DrawTextAt(font, image_data, text, position, color, clip, image_data_is_opaque); 1914 } 1915 1916 static int32_t Pnacl_M14_PPB_Font_Dev_MeasureText(PP_Resource font, const struct PP_TextRun_Dev* text) { 1917 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 1918 return iface->MeasureText(font, text); 1919 } 1920 1921 static uint32_t Pnacl_M14_PPB_Font_Dev_CharacterOffsetForPixel(PP_Resource font, const struct PP_TextRun_Dev* text, int32_t pixel_position) { 1922 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 1923 return iface->CharacterOffsetForPixel(font, text, pixel_position); 1924 } 1925 1926 static int32_t Pnacl_M14_PPB_Font_Dev_PixelOffsetForCharacter(PP_Resource font, const struct PP_TextRun_Dev* text, uint32_t char_offset) { 1927 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real_iface; 1928 return iface->PixelOffsetForCharacter(font, text, char_offset); 1929 } 1930 1931 /* End wrapper methods for PPB_Font_Dev_0_6 */ 1932 1933 /* Not generating wrapper methods for PPB_Graphics2D_Dev_0_1 */ 1934 1935 /* Not generating wrapper methods for PPB_Graphics2D_Dev_0_2 */ 1936 1937 /* Begin wrapper methods for PPB_IMEInputEvent_Dev_0_1 */ 1938 1939 static PP_Bool Pnacl_M16_PPB_IMEInputEvent_Dev_IsIMEInputEvent(PP_Resource resource) { 1940 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 1941 return iface->IsIMEInputEvent(resource); 1942 } 1943 1944 static void Pnacl_M16_PPB_IMEInputEvent_Dev_GetText(struct PP_Var* _struct_result, PP_Resource ime_event) { 1945 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 1946 *_struct_result = iface->GetText(ime_event); 1947 } 1948 1949 static uint32_t Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentNumber(PP_Resource ime_event) { 1950 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 1951 return iface->GetSegmentNumber(ime_event); 1952 } 1953 1954 static uint32_t Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset(PP_Resource ime_event, uint32_t index) { 1955 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 1956 return iface->GetSegmentOffset(ime_event, index); 1957 } 1958 1959 static int32_t Pnacl_M16_PPB_IMEInputEvent_Dev_GetTargetSegment(PP_Resource ime_event) { 1960 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 1961 return iface->GetTargetSegment(ime_event); 1962 } 1963 1964 static void Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection(PP_Resource ime_event, uint32_t* start, uint32_t* end) { 1965 const struct PPB_IMEInputEvent_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1.real_iface; 1966 iface->GetSelection(ime_event, start, end); 1967 } 1968 1969 /* End wrapper methods for PPB_IMEInputEvent_Dev_0_1 */ 1970 1971 /* Begin wrapper methods for PPB_IMEInputEvent_Dev_0_2 */ 1972 1973 static PP_Resource Pnacl_M21_PPB_IMEInputEvent_Dev_Create(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var* text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end) { 1974 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 1975 return iface->Create(instance, type, time_stamp, *text, segment_number, segment_offsets, target_segment, selection_start, selection_end); 1976 } 1977 1978 static PP_Bool Pnacl_M21_PPB_IMEInputEvent_Dev_IsIMEInputEvent(PP_Resource resource) { 1979 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 1980 return iface->IsIMEInputEvent(resource); 1981 } 1982 1983 static void Pnacl_M21_PPB_IMEInputEvent_Dev_GetText(struct PP_Var* _struct_result, PP_Resource ime_event) { 1984 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 1985 *_struct_result = iface->GetText(ime_event); 1986 } 1987 1988 static uint32_t Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentNumber(PP_Resource ime_event) { 1989 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 1990 return iface->GetSegmentNumber(ime_event); 1991 } 1992 1993 static uint32_t Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentOffset(PP_Resource ime_event, uint32_t index) { 1994 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 1995 return iface->GetSegmentOffset(ime_event, index); 1996 } 1997 1998 static int32_t Pnacl_M21_PPB_IMEInputEvent_Dev_GetTargetSegment(PP_Resource ime_event) { 1999 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 2000 return iface->GetTargetSegment(ime_event); 2001 } 2002 2003 static void Pnacl_M21_PPB_IMEInputEvent_Dev_GetSelection(PP_Resource ime_event, uint32_t* start, uint32_t* end) { 2004 const struct PPB_IMEInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2.real_iface; 2005 iface->GetSelection(ime_event, start, end); 2006 } 2007 2008 /* End wrapper methods for PPB_IMEInputEvent_Dev_0_2 */ 2009 2010 /* Begin wrapper methods for PPB_KeyboardInputEvent_Dev_0_2 */ 2011 2012 static PP_Bool Pnacl_M31_PPB_KeyboardInputEvent_Dev_SetUsbKeyCode(PP_Resource key_event, uint32_t usb_key_code) { 2013 const struct PPB_KeyboardInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2.real_iface; 2014 return iface->SetUsbKeyCode(key_event, usb_key_code); 2015 } 2016 2017 static uint32_t Pnacl_M31_PPB_KeyboardInputEvent_Dev_GetUsbKeyCode(PP_Resource key_event) { 2018 const struct PPB_KeyboardInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2.real_iface; 2019 return iface->GetUsbKeyCode(key_event); 2020 } 2021 2022 static void Pnacl_M31_PPB_KeyboardInputEvent_Dev_GetCode(struct PP_Var* _struct_result, PP_Resource key_event) { 2023 const struct PPB_KeyboardInputEvent_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2.real_iface; 2024 *_struct_result = iface->GetCode(key_event); 2025 } 2026 2027 /* End wrapper methods for PPB_KeyboardInputEvent_Dev_0_2 */ 2028 2029 /* Not generating wrapper methods for PPB_Memory_Dev_0_1 */ 2030 2031 /* Begin wrapper methods for PPB_Printing_Dev_0_7 */ 2032 2033 static PP_Resource Pnacl_M23_PPB_Printing_Dev_Create(PP_Instance instance) { 2034 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_0_7.real_iface; 2035 return iface->Create(instance); 2036 } 2037 2038 static int32_t Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings(PP_Resource resource, struct PP_PrintSettings_Dev* print_settings, struct PP_CompletionCallback* callback) { 2039 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_0_7.real_iface; 2040 return iface->GetDefaultPrintSettings(resource, print_settings, *callback); 2041 } 2042 2043 /* End wrapper methods for PPB_Printing_Dev_0_7 */ 2044 2045 /* Not generating wrapper methods for PPB_ResourceArray_Dev_0_1 */ 2046 2047 /* Not generating wrapper methods for PPB_Scrollbar_Dev_0_5 */ 2048 2049 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ 2050 2051 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ 2052 2053 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ 2054 2055 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */ 2056 2057 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ 2058 2059 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instance, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2060 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2061 return iface->GetFontFamilies(instance, *output, *callback); 2062 } 2063 2064 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontsInFamily(PP_Instance instance, struct PP_Var* family, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2065 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2066 return iface->GetFontsInFamily(instance, *family, *output, *callback); 2067 } 2068 2069 static PP_Resource Pnacl_M26_PPB_TrueTypeFont_Dev_Create(PP_Instance instance, const struct PP_TrueTypeFontDesc_Dev* desc) { 2070 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2071 return iface->Create(instance, desc); 2072 } 2073 2074 static PP_Bool Pnacl_M26_PPB_TrueTypeFont_Dev_IsTrueTypeFont(PP_Resource resource) { 2075 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2076 return iface->IsTrueTypeFont(resource); 2077 } 2078 2079 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_Describe(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* desc, struct PP_CompletionCallback* callback) { 2080 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2081 return iface->Describe(font, desc, *callback); 2082 } 2083 2084 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTableTags(PP_Resource font, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2085 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2086 return iface->GetTableTags(font, *output, *callback); 2087 } 2088 2089 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable(PP_Resource font, uint32_t table, int32_t offset, int32_t max_data_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2090 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1.real_iface; 2091 return iface->GetTable(font, table, offset, max_data_length, *output, *callback); 2092 } 2093 2094 /* End wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ 2095 2096 /* Begin wrapper methods for PPB_URLUtil_Dev_0_6 */ 2097 2098 static void Pnacl_M17_PPB_URLUtil_Dev_Canonicalize(struct PP_Var* _struct_result, struct PP_Var* url, struct PP_URLComponents_Dev* components) { 2099 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2100 *_struct_result = iface->Canonicalize(*url, components); 2101 } 2102 2103 static void Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToURL(struct PP_Var* _struct_result, struct PP_Var* base_url, struct PP_Var* relative_string, struct PP_URLComponents_Dev* components) { 2104 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2105 *_struct_result = iface->ResolveRelativeToURL(*base_url, *relative_string, components); 2106 } 2107 2108 static void Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToDocument(struct PP_Var* _struct_result, PP_Instance instance, struct PP_Var* relative_string, struct PP_URLComponents_Dev* components) { 2109 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2110 *_struct_result = iface->ResolveRelativeToDocument(instance, *relative_string, components); 2111 } 2112 2113 static PP_Bool Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin(struct PP_Var* url_a, struct PP_Var* url_b) { 2114 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2115 return iface->IsSameSecurityOrigin(*url_a, *url_b); 2116 } 2117 2118 static PP_Bool Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest(PP_Instance instance, struct PP_Var* url) { 2119 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2120 return iface->DocumentCanRequest(instance, *url); 2121 } 2122 2123 static PP_Bool Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument(PP_Instance active, PP_Instance target) { 2124 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2125 return iface->DocumentCanAccessDocument(active, target); 2126 } 2127 2128 static void Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 2129 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2130 *_struct_result = iface->GetDocumentURL(instance, components); 2131 } 2132 2133 static void Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 2134 const struct PPB_URLUtil_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6.real_iface; 2135 *_struct_result = iface->GetPluginInstanceURL(instance, components); 2136 } 2137 2138 /* End wrapper methods for PPB_URLUtil_Dev_0_6 */ 2139 2140 /* Begin wrapper methods for PPB_URLUtil_Dev_0_7 */ 2141 2142 static void Pnacl_M31_PPB_URLUtil_Dev_Canonicalize(struct PP_Var* _struct_result, struct PP_Var* url, struct PP_URLComponents_Dev* components) { 2143 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2144 *_struct_result = iface->Canonicalize(*url, components); 2145 } 2146 2147 static void Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToURL(struct PP_Var* _struct_result, struct PP_Var* base_url, struct PP_Var* relative_string, struct PP_URLComponents_Dev* components) { 2148 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2149 *_struct_result = iface->ResolveRelativeToURL(*base_url, *relative_string, components); 2150 } 2151 2152 static void Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToDocument(struct PP_Var* _struct_result, PP_Instance instance, struct PP_Var* relative_string, struct PP_URLComponents_Dev* components) { 2153 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2154 *_struct_result = iface->ResolveRelativeToDocument(instance, *relative_string, components); 2155 } 2156 2157 static PP_Bool Pnacl_M31_PPB_URLUtil_Dev_IsSameSecurityOrigin(struct PP_Var* url_a, struct PP_Var* url_b) { 2158 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2159 return iface->IsSameSecurityOrigin(*url_a, *url_b); 2160 } 2161 2162 static PP_Bool Pnacl_M31_PPB_URLUtil_Dev_DocumentCanRequest(PP_Instance instance, struct PP_Var* url) { 2163 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2164 return iface->DocumentCanRequest(instance, *url); 2165 } 2166 2167 static PP_Bool Pnacl_M31_PPB_URLUtil_Dev_DocumentCanAccessDocument(PP_Instance active, PP_Instance target) { 2168 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2169 return iface->DocumentCanAccessDocument(active, target); 2170 } 2171 2172 static void Pnacl_M31_PPB_URLUtil_Dev_GetDocumentURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 2173 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2174 *_struct_result = iface->GetDocumentURL(instance, components); 2175 } 2176 2177 static void Pnacl_M31_PPB_URLUtil_Dev_GetPluginInstanceURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 2178 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2179 *_struct_result = iface->GetPluginInstanceURL(instance, components); 2180 } 2181 2182 static void Pnacl_M31_PPB_URLUtil_Dev_GetPluginReferrerURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 2183 const struct PPB_URLUtil_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7.real_iface; 2184 *_struct_result = iface->GetPluginReferrerURL(instance, components); 2185 } 2186 2187 /* End wrapper methods for PPB_URLUtil_Dev_0_7 */ 2188 2189 /* Begin wrapper methods for PPB_VarResource_Dev_0_1 */ 2190 2191 static PP_Resource Pnacl_M32_PPB_VarResource_Dev_VarToResource(struct PP_Var* var) { 2192 const struct PPB_VarResource_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1.real_iface; 2193 return iface->VarToResource(*var); 2194 } 2195 2196 static void Pnacl_M32_PPB_VarResource_Dev_VarFromResource(struct PP_Var* _struct_result, PP_Resource resource) { 2197 const struct PPB_VarResource_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1.real_iface; 2198 *_struct_result = iface->VarFromResource(resource); 2199 } 2200 2201 /* End wrapper methods for PPB_VarResource_Dev_0_1 */ 2202 2203 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_2 */ 2204 2205 static PP_Resource Pnacl_M19_PPB_VideoCapture_Dev_Create(PP_Instance instance) { 2206 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2.real_iface; 2207 return iface->Create(instance); 2208 } 2209 2210 static PP_Bool Pnacl_M19_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_capture) { 2211 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2.real_iface; 2212 return iface->IsVideoCapture(video_capture); 2213 } 2214 2215 static int32_t Pnacl_M19_PPB_VideoCapture_Dev_EnumerateDevices(PP_Resource video_capture, PP_Resource* devices, struct PP_CompletionCallback* callback) { 2216 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2.real_iface; 2217 return iface->EnumerateDevices(video_capture, devices, *callback); 2218 } 2219 2220 static int32_t Pnacl_M19_PPB_VideoCapture_Dev_Open(PP_Resource video_capture, PP_Resource device_ref, const struct PP_VideoCaptureDeviceInfo_Dev* requested_info, uint32_t buffer_count, struct PP_CompletionCallback* callback) { 2221 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2.real_iface; 2222 return iface->Open(video_capture, device_ref, requested_info, buffer_count, *callback); 2223 } 2224 2225 static int32_t Pnacl_M19_PPB_VideoCapture_Dev_StartCapture(PP_Resource video_capture) { 2226 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2.real_iface; 2227 return iface->StartCapture(video_capture); 2228 } 2229 2230 static int32_t Pnacl_M19_PPB_VideoCapture_Dev_ReuseBuffer(PP_Resource video_capture, uint32_t buffer) { 2231 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2.real_iface; 2232 return iface->ReuseBuffer(video_capture, buffer); 2233 } 2234 2235 static int32_t Pnacl_M19_PPB_VideoCapture_Dev_StopCapture(PP_Resource video_capture) { 2236 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2.real_iface; 2237 return iface->StopCapture(video_capture); 2238 } 2239 2240 static void Pnacl_M19_PPB_VideoCapture_Dev_Close(PP_Resource video_capture) { 2241 const struct PPB_VideoCapture_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2.real_iface; 2242 iface->Close(video_capture); 2243 } 2244 2245 /* End wrapper methods for PPB_VideoCapture_Dev_0_2 */ 2246 2247 /* Begin wrapper methods for PPB_VideoCapture_Dev_0_3 */ 2248 2249 static PP_Resource Pnacl_M25_PPB_VideoCapture_Dev_Create(PP_Instance instance) { 2250 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2251 return iface->Create(instance); 2252 } 2253 2254 static PP_Bool Pnacl_M25_PPB_VideoCapture_Dev_IsVideoCapture(PP_Resource video_capture) { 2255 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2256 return iface->IsVideoCapture(video_capture); 2257 } 2258 2259 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_EnumerateDevices(PP_Resource video_capture, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 2260 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2261 return iface->EnumerateDevices(video_capture, *output, *callback); 2262 } 2263 2264 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_MonitorDeviceChange(PP_Resource video_capture, PP_MonitorDeviceChangeCallback callback, void* user_data) { 2265 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2266 return iface->MonitorDeviceChange(video_capture, callback, user_data); 2267 } 2268 2269 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_Open(PP_Resource video_capture, PP_Resource device_ref, const struct PP_VideoCaptureDeviceInfo_Dev* requested_info, uint32_t buffer_count, struct PP_CompletionCallback* callback) { 2270 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2271 return iface->Open(video_capture, device_ref, requested_info, buffer_count, *callback); 2272 } 2273 2274 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_StartCapture(PP_Resource video_capture) { 2275 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2276 return iface->StartCapture(video_capture); 2277 } 2278 2279 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_ReuseBuffer(PP_Resource video_capture, uint32_t buffer) { 2280 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2281 return iface->ReuseBuffer(video_capture, buffer); 2282 } 2283 2284 static int32_t Pnacl_M25_PPB_VideoCapture_Dev_StopCapture(PP_Resource video_capture) { 2285 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2286 return iface->StopCapture(video_capture); 2287 } 2288 2289 static void Pnacl_M25_PPB_VideoCapture_Dev_Close(PP_Resource video_capture) { 2290 const struct PPB_VideoCapture_Dev_0_3 *iface = Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3.real_iface; 2291 iface->Close(video_capture); 2292 } 2293 2294 /* End wrapper methods for PPB_VideoCapture_Dev_0_3 */ 2295 2296 /* Begin wrapper methods for PPB_VideoDecoder_Dev_0_16 */ 2297 2298 static PP_Resource Pnacl_M14_PPB_VideoDecoder_Dev_Create(PP_Instance instance, PP_Resource context, PP_VideoDecoder_Profile profile) { 2299 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2300 return iface->Create(instance, context, profile); 2301 } 2302 2303 static PP_Bool Pnacl_M14_PPB_VideoDecoder_Dev_IsVideoDecoder(PP_Resource resource) { 2304 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2305 return iface->IsVideoDecoder(resource); 2306 } 2307 2308 static int32_t Pnacl_M14_PPB_VideoDecoder_Dev_Decode(PP_Resource video_decoder, const struct PP_VideoBitstreamBuffer_Dev* bitstream_buffer, struct PP_CompletionCallback* callback) { 2309 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2310 return iface->Decode(video_decoder, bitstream_buffer, *callback); 2311 } 2312 2313 static void Pnacl_M14_PPB_VideoDecoder_Dev_AssignPictureBuffers(PP_Resource video_decoder, uint32_t no_of_buffers, const struct PP_PictureBuffer_Dev buffers[]) { 2314 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2315 iface->AssignPictureBuffers(video_decoder, no_of_buffers, buffers); 2316 } 2317 2318 static void Pnacl_M14_PPB_VideoDecoder_Dev_ReusePictureBuffer(PP_Resource video_decoder, int32_t picture_buffer_id) { 2319 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2320 iface->ReusePictureBuffer(video_decoder, picture_buffer_id); 2321 } 2322 2323 static int32_t Pnacl_M14_PPB_VideoDecoder_Dev_Flush(PP_Resource video_decoder, struct PP_CompletionCallback* callback) { 2324 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2325 return iface->Flush(video_decoder, *callback); 2326 } 2327 2328 static int32_t Pnacl_M14_PPB_VideoDecoder_Dev_Reset(PP_Resource video_decoder, struct PP_CompletionCallback* callback) { 2329 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2330 return iface->Reset(video_decoder, *callback); 2331 } 2332 2333 static void Pnacl_M14_PPB_VideoDecoder_Dev_Destroy(PP_Resource video_decoder) { 2334 const struct PPB_VideoDecoder_Dev_0_16 *iface = Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16.real_iface; 2335 iface->Destroy(video_decoder); 2336 } 2337 2338 /* End wrapper methods for PPB_VideoDecoder_Dev_0_16 */ 2339 2340 /* Not generating wrapper methods for PPB_View_Dev_0_1 */ 2341 2342 /* Not generating wrapper methods for PPB_Widget_Dev_0_3 */ 2343 2344 /* Not generating wrapper methods for PPB_Widget_Dev_0_4 */ 2345 2346 /* Not generating wrapper methods for PPB_Zoom_Dev_0_2 */ 2347 2348 /* Not generating wrapper methods for PPP_NetworkState_Dev_0_1 */ 2349 2350 /* Not generating wrapper methods for PPP_Printing_Dev_0_6 */ 2351 2352 /* Not generating wrapper methods for PPP_Scrollbar_Dev_0_2 */ 2353 2354 /* Not generating wrapper methods for PPP_Scrollbar_Dev_0_3 */ 2355 2356 /* Begin wrapper methods for PPP_Selection_Dev_0_3 */ 2357 2358 static struct PP_Var Pnacl_M13_PPP_Selection_Dev_GetSelectedText(PP_Instance instance, PP_Bool html) { 2359 const struct PPP_Selection_Dev_0_3 *iface = Pnacl_WrapperInfo_PPP_Selection_Dev_0_3.real_iface; 2360 void (*temp_fp)(struct PP_Var* _struct_result, PP_Instance instance, PP_Bool html) = 2361 ((void (*)(struct PP_Var* _struct_result, PP_Instance instance, PP_Bool html))iface->GetSelectedText); 2362 struct PP_Var _struct_result; 2363 temp_fp(&_struct_result, instance, html); 2364 return _struct_result; 2365 } 2366 2367 /* End wrapper methods for PPP_Selection_Dev_0_3 */ 2368 2369 /* Not generating wrapper methods for PPP_TextInput_Dev_0_1 */ 2370 2371 /* Not generating wrapper methods for PPP_VideoCapture_Dev_0_1 */ 2372 2373 /* Not generating wrapper methods for PPP_VideoDecoder_Dev_0_11 */ 2374 2375 /* Not generating wrapper methods for PPP_Widget_Dev_0_2 */ 2376 2377 /* Not generating wrapper methods for PPP_Zoom_Dev_0_3 */ 2378 2379 /* Begin wrapper methods for PPB_ContentDecryptor_Private_0_9 */ 2380 2381 static void Pnacl_M33_PPB_ContentDecryptor_Private_SessionCreated(PP_Instance instance, uint32_t session_id, struct PP_Var* web_session_id) { 2382 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9.real_iface; 2383 iface->SessionCreated(instance, session_id, *web_session_id); 2384 } 2385 2386 static void Pnacl_M33_PPB_ContentDecryptor_Private_SessionMessage(PP_Instance instance, uint32_t session_id, struct PP_Var* message, struct PP_Var* destination_url) { 2387 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9.real_iface; 2388 iface->SessionMessage(instance, session_id, *message, *destination_url); 2389 } 2390 2391 static void Pnacl_M33_PPB_ContentDecryptor_Private_SessionReady(PP_Instance instance, uint32_t session_id) { 2392 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9.real_iface; 2393 iface->SessionReady(instance, session_id); 2394 } 2395 2396 static void Pnacl_M33_PPB_ContentDecryptor_Private_SessionClosed(PP_Instance instance, uint32_t session_id) { 2397 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9.real_iface; 2398 iface->SessionClosed(instance, session_id); 2399 } 2400 2401 static void Pnacl_M33_PPB_ContentDecryptor_Private_SessionError(PP_Instance instance, uint32_t session_id, int32_t media_error, int32_t system_code) { 2402 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9.real_iface; 2403 iface->SessionError(instance, session_id, media_error, system_code); 2404 } 2405 2406 static void Pnacl_M33_PPB_ContentDecryptor_Private_DeliverBlock(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info) { 2407 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9.real_iface; 2408 iface->DeliverBlock(instance, decrypted_block, decrypted_block_info); 2409 } 2410 2411 static void Pnacl_M33_PPB_ContentDecryptor_Private_DecoderInitializeDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success) { 2412 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9.real_iface; 2413 iface->DecoderInitializeDone(instance, decoder_type, request_id, success); 2414 } 2415 2416 static void Pnacl_M33_PPB_ContentDecryptor_Private_DecoderDeinitializeDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2417 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9.real_iface; 2418 iface->DecoderDeinitializeDone(instance, decoder_type, request_id); 2419 } 2420 2421 static void Pnacl_M33_PPB_ContentDecryptor_Private_DecoderResetDone(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 2422 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9.real_iface; 2423 iface->DecoderResetDone(instance, decoder_type, request_id); 2424 } 2425 2426 static void Pnacl_M33_PPB_ContentDecryptor_Private_DeliverFrame(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info) { 2427 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9.real_iface; 2428 iface->DeliverFrame(instance, decrypted_frame, decrypted_frame_info); 2429 } 2430 2431 static void Pnacl_M33_PPB_ContentDecryptor_Private_DeliverSamples(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info) { 2432 const struct PPB_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9.real_iface; 2433 iface->DeliverSamples(instance, audio_frames, decrypted_sample_info); 2434 } 2435 2436 /* End wrapper methods for PPB_ContentDecryptor_Private_0_9 */ 2437 2438 /* Begin wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ 2439 2440 static int32_t Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open(PP_Instance instance, PP_Resource* file_system, struct PP_CompletionCallback* callback) { 2441 const struct PPB_Ext_CrxFileSystem_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1.real_iface; 2442 return iface->Open(instance, file_system, *callback); 2443 } 2444 2445 /* End wrapper methods for PPB_Ext_CrxFileSystem_Private_0_1 */ 2446 2447 /* Begin wrapper methods for PPB_FileIO_Private_0_1 */ 2448 2449 static int32_t Pnacl_M28_PPB_FileIO_Private_RequestOSFileHandle(PP_Resource file_io, PP_FileHandle* handle, struct PP_CompletionCallback* callback) { 2450 const struct PPB_FileIO_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_Private_0_1.real_iface; 2451 return iface->RequestOSFileHandle(file_io, handle, *callback); 2452 } 2453 2454 /* End wrapper methods for PPB_FileIO_Private_0_1 */ 2455 2456 /* Begin wrapper methods for PPB_FileRefPrivate_0_1 */ 2457 2458 static void Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath(struct PP_Var* _struct_result, PP_Resource file_ref) { 2459 const struct PPB_FileRefPrivate_0_1 *iface = Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1.real_iface; 2460 *_struct_result = iface->GetAbsolutePath(file_ref); 2461 } 2462 2463 /* End wrapper methods for PPB_FileRefPrivate_0_1 */ 2464 2465 /* Begin wrapper methods for PPB_Flash_12_4 */ 2466 2467 static void Pnacl_M21_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on_top) { 2468 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2469 iface->SetInstanceAlwaysOnTop(instance, on_top); 2470 } 2471 2472 static PP_Bool Pnacl_M21_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { 2473 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2474 return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); 2475 } 2476 2477 static void Pnacl_M21_PPB_Flash_GetProxyForURL(struct PP_Var* _struct_result, PP_Instance instance, const char* url) { 2478 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2479 *_struct_result = iface->GetProxyForURL(instance, url); 2480 } 2481 2482 static int32_t Pnacl_M21_PPB_Flash_Navigate(PP_Resource request_info, const char* target, PP_Bool from_user_action) { 2483 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2484 return iface->Navigate(request_info, target, from_user_action); 2485 } 2486 2487 static void Pnacl_M21_PPB_Flash_RunMessageLoop(PP_Instance instance) { 2488 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2489 iface->RunMessageLoop(instance); 2490 } 2491 2492 static void Pnacl_M21_PPB_Flash_QuitMessageLoop(PP_Instance instance) { 2493 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2494 iface->QuitMessageLoop(instance); 2495 } 2496 2497 static double Pnacl_M21_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) { 2498 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2499 return iface->GetLocalTimeZoneOffset(instance, t); 2500 } 2501 2502 static void Pnacl_M21_PPB_Flash_GetCommandLineArgs(struct PP_Var* _struct_result, PP_Module module) { 2503 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2504 *_struct_result = iface->GetCommandLineArgs(module); 2505 } 2506 2507 static void Pnacl_M21_PPB_Flash_PreloadFontWin(const void* logfontw) { 2508 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2509 iface->PreloadFontWin(logfontw); 2510 } 2511 2512 static PP_Bool Pnacl_M21_PPB_Flash_IsRectTopmost(PP_Instance instance, const struct PP_Rect* rect) { 2513 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2514 return iface->IsRectTopmost(instance, rect); 2515 } 2516 2517 static int32_t Pnacl_M21_PPB_Flash_InvokePrinting(PP_Instance instance) { 2518 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2519 return iface->InvokePrinting(instance); 2520 } 2521 2522 static void Pnacl_M21_PPB_Flash_UpdateActivity(PP_Instance instance) { 2523 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2524 iface->UpdateActivity(instance); 2525 } 2526 2527 static void Pnacl_M21_PPB_Flash_GetDeviceID(struct PP_Var* _struct_result, PP_Instance instance) { 2528 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2529 *_struct_result = iface->GetDeviceID(instance); 2530 } 2531 2532 static int32_t Pnacl_M21_PPB_Flash_GetSettingInt(PP_Instance instance, PP_FlashSetting setting) { 2533 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2534 return iface->GetSettingInt(instance, setting); 2535 } 2536 2537 static void Pnacl_M21_PPB_Flash_GetSetting(struct PP_Var* _struct_result, PP_Instance instance, PP_FlashSetting setting) { 2538 const struct PPB_Flash_12_4 *iface = Pnacl_WrapperInfo_PPB_Flash_12_4.real_iface; 2539 *_struct_result = iface->GetSetting(instance, setting); 2540 } 2541 2542 /* End wrapper methods for PPB_Flash_12_4 */ 2543 2544 /* Begin wrapper methods for PPB_Flash_12_5 */ 2545 2546 static void Pnacl_M22_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on_top) { 2547 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2548 iface->SetInstanceAlwaysOnTop(instance, on_top); 2549 } 2550 2551 static PP_Bool Pnacl_M22_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { 2552 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2553 return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); 2554 } 2555 2556 static void Pnacl_M22_PPB_Flash_GetProxyForURL(struct PP_Var* _struct_result, PP_Instance instance, const char* url) { 2557 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2558 *_struct_result = iface->GetProxyForURL(instance, url); 2559 } 2560 2561 static int32_t Pnacl_M22_PPB_Flash_Navigate(PP_Resource request_info, const char* target, PP_Bool from_user_action) { 2562 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2563 return iface->Navigate(request_info, target, from_user_action); 2564 } 2565 2566 static void Pnacl_M22_PPB_Flash_RunMessageLoop(PP_Instance instance) { 2567 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2568 iface->RunMessageLoop(instance); 2569 } 2570 2571 static void Pnacl_M22_PPB_Flash_QuitMessageLoop(PP_Instance instance) { 2572 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2573 iface->QuitMessageLoop(instance); 2574 } 2575 2576 static double Pnacl_M22_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) { 2577 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2578 return iface->GetLocalTimeZoneOffset(instance, t); 2579 } 2580 2581 static void Pnacl_M22_PPB_Flash_GetCommandLineArgs(struct PP_Var* _struct_result, PP_Module module) { 2582 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2583 *_struct_result = iface->GetCommandLineArgs(module); 2584 } 2585 2586 static void Pnacl_M22_PPB_Flash_PreloadFontWin(const void* logfontw) { 2587 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2588 iface->PreloadFontWin(logfontw); 2589 } 2590 2591 static PP_Bool Pnacl_M22_PPB_Flash_IsRectTopmost(PP_Instance instance, const struct PP_Rect* rect) { 2592 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2593 return iface->IsRectTopmost(instance, rect); 2594 } 2595 2596 static int32_t Pnacl_M22_PPB_Flash_InvokePrinting(PP_Instance instance) { 2597 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2598 return iface->InvokePrinting(instance); 2599 } 2600 2601 static void Pnacl_M22_PPB_Flash_UpdateActivity(PP_Instance instance) { 2602 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2603 iface->UpdateActivity(instance); 2604 } 2605 2606 static void Pnacl_M22_PPB_Flash_GetDeviceID(struct PP_Var* _struct_result, PP_Instance instance) { 2607 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2608 *_struct_result = iface->GetDeviceID(instance); 2609 } 2610 2611 static int32_t Pnacl_M22_PPB_Flash_GetSettingInt(PP_Instance instance, PP_FlashSetting setting) { 2612 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2613 return iface->GetSettingInt(instance, setting); 2614 } 2615 2616 static void Pnacl_M22_PPB_Flash_GetSetting(struct PP_Var* _struct_result, PP_Instance instance, PP_FlashSetting setting) { 2617 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2618 *_struct_result = iface->GetSetting(instance, setting); 2619 } 2620 2621 static PP_Bool Pnacl_M22_PPB_Flash_SetCrashData(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var* value) { 2622 const struct PPB_Flash_12_5 *iface = Pnacl_WrapperInfo_PPB_Flash_12_5.real_iface; 2623 return iface->SetCrashData(instance, key, *value); 2624 } 2625 2626 /* End wrapper methods for PPB_Flash_12_5 */ 2627 2628 /* Begin wrapper methods for PPB_Flash_12_6 */ 2629 2630 static void Pnacl_M24_0_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on_top) { 2631 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2632 iface->SetInstanceAlwaysOnTop(instance, on_top); 2633 } 2634 2635 static PP_Bool Pnacl_M24_0_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { 2636 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2637 return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); 2638 } 2639 2640 static void Pnacl_M24_0_PPB_Flash_GetProxyForURL(struct PP_Var* _struct_result, PP_Instance instance, const char* url) { 2641 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2642 *_struct_result = iface->GetProxyForURL(instance, url); 2643 } 2644 2645 static int32_t Pnacl_M24_0_PPB_Flash_Navigate(PP_Resource request_info, const char* target, PP_Bool from_user_action) { 2646 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2647 return iface->Navigate(request_info, target, from_user_action); 2648 } 2649 2650 static void Pnacl_M24_0_PPB_Flash_RunMessageLoop(PP_Instance instance) { 2651 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2652 iface->RunMessageLoop(instance); 2653 } 2654 2655 static void Pnacl_M24_0_PPB_Flash_QuitMessageLoop(PP_Instance instance) { 2656 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2657 iface->QuitMessageLoop(instance); 2658 } 2659 2660 static double Pnacl_M24_0_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) { 2661 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2662 return iface->GetLocalTimeZoneOffset(instance, t); 2663 } 2664 2665 static void Pnacl_M24_0_PPB_Flash_GetCommandLineArgs(struct PP_Var* _struct_result, PP_Module module) { 2666 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2667 *_struct_result = iface->GetCommandLineArgs(module); 2668 } 2669 2670 static void Pnacl_M24_0_PPB_Flash_PreloadFontWin(const void* logfontw) { 2671 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2672 iface->PreloadFontWin(logfontw); 2673 } 2674 2675 static PP_Bool Pnacl_M24_0_PPB_Flash_IsRectTopmost(PP_Instance instance, const struct PP_Rect* rect) { 2676 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2677 return iface->IsRectTopmost(instance, rect); 2678 } 2679 2680 static int32_t Pnacl_M24_0_PPB_Flash_InvokePrinting(PP_Instance instance) { 2681 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2682 return iface->InvokePrinting(instance); 2683 } 2684 2685 static void Pnacl_M24_0_PPB_Flash_UpdateActivity(PP_Instance instance) { 2686 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2687 iface->UpdateActivity(instance); 2688 } 2689 2690 static void Pnacl_M24_0_PPB_Flash_GetDeviceID(struct PP_Var* _struct_result, PP_Instance instance) { 2691 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2692 *_struct_result = iface->GetDeviceID(instance); 2693 } 2694 2695 static int32_t Pnacl_M24_0_PPB_Flash_GetSettingInt(PP_Instance instance, PP_FlashSetting setting) { 2696 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2697 return iface->GetSettingInt(instance, setting); 2698 } 2699 2700 static void Pnacl_M24_0_PPB_Flash_GetSetting(struct PP_Var* _struct_result, PP_Instance instance, PP_FlashSetting setting) { 2701 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2702 *_struct_result = iface->GetSetting(instance, setting); 2703 } 2704 2705 static PP_Bool Pnacl_M24_0_PPB_Flash_SetCrashData(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var* value) { 2706 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2707 return iface->SetCrashData(instance, key, *value); 2708 } 2709 2710 static int32_t Pnacl_M24_0_PPB_Flash_EnumerateVideoCaptureDevices(PP_Instance instance, PP_Resource video_capture, struct PP_ArrayOutput* devices) { 2711 const struct PPB_Flash_12_6 *iface = Pnacl_WrapperInfo_PPB_Flash_12_6.real_iface; 2712 return iface->EnumerateVideoCaptureDevices(instance, video_capture, *devices); 2713 } 2714 2715 /* End wrapper methods for PPB_Flash_12_6 */ 2716 2717 /* Begin wrapper methods for PPB_Flash_13_0 */ 2718 2719 static void Pnacl_M24_1_PPB_Flash_SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on_top) { 2720 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2721 iface->SetInstanceAlwaysOnTop(instance, on_top); 2722 } 2723 2724 static PP_Bool Pnacl_M24_1_PPB_Flash_DrawGlyphs(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]) { 2725 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2726 return iface->DrawGlyphs(instance, pp_image_data, font_desc, color, position, clip, transformation, allow_subpixel_aa, glyph_count, glyph_indices, glyph_advances); 2727 } 2728 2729 static void Pnacl_M24_1_PPB_Flash_GetProxyForURL(struct PP_Var* _struct_result, PP_Instance instance, const char* url) { 2730 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2731 *_struct_result = iface->GetProxyForURL(instance, url); 2732 } 2733 2734 static int32_t Pnacl_M24_1_PPB_Flash_Navigate(PP_Resource request_info, const char* target, PP_Bool from_user_action) { 2735 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2736 return iface->Navigate(request_info, target, from_user_action); 2737 } 2738 2739 static double Pnacl_M24_1_PPB_Flash_GetLocalTimeZoneOffset(PP_Instance instance, PP_Time t) { 2740 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2741 return iface->GetLocalTimeZoneOffset(instance, t); 2742 } 2743 2744 static void Pnacl_M24_1_PPB_Flash_GetCommandLineArgs(struct PP_Var* _struct_result, PP_Module module) { 2745 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2746 *_struct_result = iface->GetCommandLineArgs(module); 2747 } 2748 2749 static void Pnacl_M24_1_PPB_Flash_PreloadFontWin(const void* logfontw) { 2750 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2751 iface->PreloadFontWin(logfontw); 2752 } 2753 2754 static PP_Bool Pnacl_M24_1_PPB_Flash_IsRectTopmost(PP_Instance instance, const struct PP_Rect* rect) { 2755 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2756 return iface->IsRectTopmost(instance, rect); 2757 } 2758 2759 static void Pnacl_M24_1_PPB_Flash_UpdateActivity(PP_Instance instance) { 2760 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2761 iface->UpdateActivity(instance); 2762 } 2763 2764 static void Pnacl_M24_1_PPB_Flash_GetSetting(struct PP_Var* _struct_result, PP_Instance instance, PP_FlashSetting setting) { 2765 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2766 *_struct_result = iface->GetSetting(instance, setting); 2767 } 2768 2769 static PP_Bool Pnacl_M24_1_PPB_Flash_SetCrashData(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var* value) { 2770 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2771 return iface->SetCrashData(instance, key, *value); 2772 } 2773 2774 static int32_t Pnacl_M24_1_PPB_Flash_EnumerateVideoCaptureDevices(PP_Instance instance, PP_Resource video_capture, struct PP_ArrayOutput* devices) { 2775 const struct PPB_Flash_13_0 *iface = Pnacl_WrapperInfo_PPB_Flash_13_0.real_iface; 2776 return iface->EnumerateVideoCaptureDevices(instance, video_capture, *devices); 2777 } 2778 2779 /* End wrapper methods for PPB_Flash_13_0 */ 2780 2781 /* Begin wrapper methods for PPB_Flash_Clipboard_4_0 */ 2782 2783 static PP_Bool Pnacl_M19_PPB_Flash_Clipboard_IsFormatAvailable(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, PP_Flash_Clipboard_Format format) { 2784 const struct PPB_Flash_Clipboard_4_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0.real_iface; 2785 return iface->IsFormatAvailable(instance_id, clipboard_type, format); 2786 } 2787 2788 static void Pnacl_M19_PPB_Flash_Clipboard_ReadData(struct PP_Var* _struct_result, PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, PP_Flash_Clipboard_Format format) { 2789 const struct PPB_Flash_Clipboard_4_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0.real_iface; 2790 *_struct_result = iface->ReadData(instance_id, clipboard_type, format); 2791 } 2792 2793 static int32_t Pnacl_M19_PPB_Flash_Clipboard_WriteData(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t data_item_count, const PP_Flash_Clipboard_Format formats[], const struct PP_Var data_items[]) { 2794 const struct PPB_Flash_Clipboard_4_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0.real_iface; 2795 return iface->WriteData(instance_id, clipboard_type, data_item_count, formats, data_items); 2796 } 2797 2798 /* End wrapper methods for PPB_Flash_Clipboard_4_0 */ 2799 2800 /* Begin wrapper methods for PPB_Flash_Clipboard_5_0 */ 2801 2802 static uint32_t Pnacl_M24_PPB_Flash_Clipboard_RegisterCustomFormat(PP_Instance instance_id, const char* format_name) { 2803 const struct PPB_Flash_Clipboard_5_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0.real_iface; 2804 return iface->RegisterCustomFormat(instance_id, format_name); 2805 } 2806 2807 static PP_Bool Pnacl_M24_PPB_Flash_Clipboard_IsFormatAvailable(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format) { 2808 const struct PPB_Flash_Clipboard_5_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0.real_iface; 2809 return iface->IsFormatAvailable(instance_id, clipboard_type, format); 2810 } 2811 2812 static void Pnacl_M24_PPB_Flash_Clipboard_ReadData(struct PP_Var* _struct_result, PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format) { 2813 const struct PPB_Flash_Clipboard_5_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0.real_iface; 2814 *_struct_result = iface->ReadData(instance_id, clipboard_type, format); 2815 } 2816 2817 static int32_t Pnacl_M24_PPB_Flash_Clipboard_WriteData(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t data_item_count, const uint32_t formats[], const struct PP_Var data_items[]) { 2818 const struct PPB_Flash_Clipboard_5_0 *iface = Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0.real_iface; 2819 return iface->WriteData(instance_id, clipboard_type, data_item_count, formats, data_items); 2820 } 2821 2822 /* End wrapper methods for PPB_Flash_Clipboard_5_0 */ 2823 2824 /* Begin wrapper methods for PPB_Flash_DeviceID_1_0 */ 2825 2826 static PP_Resource Pnacl_M21_PPB_Flash_DeviceID_Create(PP_Instance instance) { 2827 const struct PPB_Flash_DeviceID_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0.real_iface; 2828 return iface->Create(instance); 2829 } 2830 2831 static int32_t Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID(PP_Resource device_id, struct PP_Var* id, struct PP_CompletionCallback* callback) { 2832 const struct PPB_Flash_DeviceID_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0.real_iface; 2833 return iface->GetDeviceID(device_id, id, *callback); 2834 } 2835 2836 /* End wrapper methods for PPB_Flash_DeviceID_1_0 */ 2837 2838 /* Begin wrapper methods for PPB_Flash_DRM_1_0 */ 2839 2840 static PP_Resource Pnacl_M29_PPB_Flash_DRM_Create(PP_Instance instance) { 2841 const struct PPB_Flash_DRM_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_0.real_iface; 2842 return iface->Create(instance); 2843 } 2844 2845 static int32_t Pnacl_M29_PPB_Flash_DRM_GetDeviceID(PP_Resource drm, struct PP_Var* id, struct PP_CompletionCallback* callback) { 2846 const struct PPB_Flash_DRM_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_0.real_iface; 2847 return iface->GetDeviceID(drm, id, *callback); 2848 } 2849 2850 static PP_Bool Pnacl_M29_PPB_Flash_DRM_GetHmonitor(PP_Resource drm, int64_t* hmonitor) { 2851 const struct PPB_Flash_DRM_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_0.real_iface; 2852 return iface->GetHmonitor(drm, hmonitor); 2853 } 2854 2855 static int32_t Pnacl_M29_PPB_Flash_DRM_GetVoucherFile(PP_Resource drm, PP_Resource* file_ref, struct PP_CompletionCallback* callback) { 2856 const struct PPB_Flash_DRM_1_0 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_0.real_iface; 2857 return iface->GetVoucherFile(drm, file_ref, *callback); 2858 } 2859 2860 /* End wrapper methods for PPB_Flash_DRM_1_0 */ 2861 2862 /* Begin wrapper methods for PPB_Flash_DRM_1_1 */ 2863 2864 static PP_Resource Pnacl_M33_PPB_Flash_DRM_Create(PP_Instance instance) { 2865 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.real_iface; 2866 return iface->Create(instance); 2867 } 2868 2869 static int32_t Pnacl_M33_PPB_Flash_DRM_GetDeviceID(PP_Resource drm, struct PP_Var* id, struct PP_CompletionCallback* callback) { 2870 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.real_iface; 2871 return iface->GetDeviceID(drm, id, *callback); 2872 } 2873 2874 static PP_Bool Pnacl_M33_PPB_Flash_DRM_GetHmonitor(PP_Resource drm, int64_t* hmonitor) { 2875 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.real_iface; 2876 return iface->GetHmonitor(drm, hmonitor); 2877 } 2878 2879 static int32_t Pnacl_M33_PPB_Flash_DRM_GetVoucherFile(PP_Resource drm, PP_Resource* file_ref, struct PP_CompletionCallback* callback) { 2880 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.real_iface; 2881 return iface->GetVoucherFile(drm, file_ref, *callback); 2882 } 2883 2884 static int32_t Pnacl_M33_PPB_Flash_DRM_MonitorIsExternal(PP_Resource drm, PP_Bool* is_external, struct PP_CompletionCallback* callback) { 2885 const struct PPB_Flash_DRM_1_1 *iface = Pnacl_WrapperInfo_PPB_Flash_DRM_1_1.real_iface; 2886 return iface->MonitorIsExternal(drm, is_external, *callback); 2887 } 2888 2889 /* End wrapper methods for PPB_Flash_DRM_1_1 */ 2890 2891 /* Not generating wrapper methods for PPB_Flash_FontFile_0_1 */ 2892 2893 /* Not generating wrapper methods for PPB_FlashFullscreen_0_1 */ 2894 2895 /* Not generating wrapper methods for PPB_FlashFullscreen_1_0 */ 2896 2897 /* Begin wrapper methods for PPB_Flash_Menu_0_2 */ 2898 2899 static PP_Resource Pnacl_M14_PPB_Flash_Menu_Create(PP_Instance instance_id, const struct PP_Flash_Menu* menu_data) { 2900 const struct PPB_Flash_Menu_0_2 *iface = Pnacl_WrapperInfo_PPB_Flash_Menu_0_2.real_iface; 2901 return iface->Create(instance_id, menu_data); 2902 } 2903 2904 static PP_Bool Pnacl_M14_PPB_Flash_Menu_IsFlashMenu(PP_Resource resource_id) { 2905 const struct PPB_Flash_Menu_0_2 *iface = Pnacl_WrapperInfo_PPB_Flash_Menu_0_2.real_iface; 2906 return iface->IsFlashMenu(resource_id); 2907 } 2908 2909 static int32_t Pnacl_M14_PPB_Flash_Menu_Show(PP_Resource menu_id, const struct PP_Point* location, int32_t* selected_id, struct PP_CompletionCallback* callback) { 2910 const struct PPB_Flash_Menu_0_2 *iface = Pnacl_WrapperInfo_PPB_Flash_Menu_0_2.real_iface; 2911 return iface->Show(menu_id, location, selected_id, *callback); 2912 } 2913 2914 /* End wrapper methods for PPB_Flash_Menu_0_2 */ 2915 2916 /* Not generating wrapper methods for PPB_Flash_MessageLoop_0_1 */ 2917 2918 /* Not generating wrapper methods for PPB_Flash_Print_1_0 */ 2919 2920 /* Begin wrapper methods for PPB_HostResolver_Private_0_1 */ 2921 2922 static PP_Resource Pnacl_M19_PPB_HostResolver_Private_Create(PP_Instance instance) { 2923 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 2924 return iface->Create(instance); 2925 } 2926 2927 static PP_Bool Pnacl_M19_PPB_HostResolver_Private_IsHostResolver(PP_Resource resource) { 2928 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 2929 return iface->IsHostResolver(resource); 2930 } 2931 2932 static int32_t Pnacl_M19_PPB_HostResolver_Private_Resolve(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Private_Hint* hint, struct PP_CompletionCallback* callback) { 2933 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 2934 return iface->Resolve(host_resolver, host, port, hint, *callback); 2935 } 2936 2937 static void Pnacl_M19_PPB_HostResolver_Private_GetCanonicalName(struct PP_Var* _struct_result, PP_Resource host_resolver) { 2938 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 2939 *_struct_result = iface->GetCanonicalName(host_resolver); 2940 } 2941 2942 static uint32_t Pnacl_M19_PPB_HostResolver_Private_GetSize(PP_Resource host_resolver) { 2943 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 2944 return iface->GetSize(host_resolver); 2945 } 2946 2947 static PP_Bool Pnacl_M19_PPB_HostResolver_Private_GetNetAddress(PP_Resource host_resolver, uint32_t index, struct PP_NetAddress_Private* addr) { 2948 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1.real_iface; 2949 return iface->GetNetAddress(host_resolver, index, addr); 2950 } 2951 2952 /* End wrapper methods for PPB_HostResolver_Private_0_1 */ 2953 2954 /* Begin wrapper methods for PPB_Instance_Private_0_1 */ 2955 2956 static void Pnacl_M13_PPB_Instance_Private_GetWindowObject(struct PP_Var* _struct_result, PP_Instance instance) { 2957 const struct PPB_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Instance_Private_0_1.real_iface; 2958 *_struct_result = iface->GetWindowObject(instance); 2959 } 2960 2961 static void Pnacl_M13_PPB_Instance_Private_GetOwnerElementObject(struct PP_Var* _struct_result, PP_Instance instance) { 2962 const struct PPB_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Instance_Private_0_1.real_iface; 2963 *_struct_result = iface->GetOwnerElementObject(instance); 2964 } 2965 2966 static void Pnacl_M13_PPB_Instance_Private_ExecuteScript(struct PP_Var* _struct_result, PP_Instance instance, struct PP_Var* script, struct PP_Var* exception) { 2967 const struct PPB_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Instance_Private_0_1.real_iface; 2968 *_struct_result = iface->ExecuteScript(instance, *script, exception); 2969 } 2970 2971 /* End wrapper methods for PPB_Instance_Private_0_1 */ 2972 2973 /* Begin wrapper methods for PPB_IsolatedFileSystem_Private_0_2 */ 2974 2975 static int32_t Pnacl_M33_PPB_IsolatedFileSystem_Private_Open(PP_Instance instance, PP_IsolatedFileSystemType_Private type, PP_Resource* file_system, struct PP_CompletionCallback* callback) { 2976 const struct PPB_IsolatedFileSystem_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2.real_iface; 2977 return iface->Open(instance, type, file_system, *callback); 2978 } 2979 2980 /* End wrapper methods for PPB_IsolatedFileSystem_Private_0_2 */ 2981 2982 /* Begin wrapper methods for PPB_NaCl_Private_1_0 */ 2983 2984 static PP_ExternalPluginResult Pnacl_M25_PPB_NaCl_Private_LaunchSelLdr(PP_Instance instance, const char* alleged_url, PP_Bool uses_irt, PP_Bool uses_ppapi, PP_Bool enable_ppapi_dev, PP_Bool enable_dyncode_syscalls, PP_Bool enable_exception_handling, PP_Bool enable_crash_throttling, void* imc_handle, struct PP_Var* error_message) { 2985 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 2986 return iface->LaunchSelLdr(instance, alleged_url, uses_irt, uses_ppapi, enable_ppapi_dev, enable_dyncode_syscalls, enable_exception_handling, enable_crash_throttling, imc_handle, error_message); 2987 } 2988 2989 static PP_ExternalPluginResult Pnacl_M25_PPB_NaCl_Private_StartPpapiProxy(PP_Instance instance) { 2990 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 2991 return iface->StartPpapiProxy(instance); 2992 } 2993 2994 static int32_t Pnacl_M25_PPB_NaCl_Private_UrandomFD(void) { 2995 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 2996 return iface->UrandomFD(); 2997 } 2998 2999 static PP_Bool Pnacl_M25_PPB_NaCl_Private_Are3DInterfacesDisabled(void) { 3000 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3001 return iface->Are3DInterfacesDisabled(); 3002 } 3003 3004 static int32_t Pnacl_M25_PPB_NaCl_Private_BrokerDuplicateHandle(PP_FileHandle source_handle, uint32_t process_id, PP_FileHandle* target_handle, uint32_t desired_access, uint32_t options) { 3005 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3006 return iface->BrokerDuplicateHandle(source_handle, process_id, target_handle, desired_access, options); 3007 } 3008 3009 static PP_FileHandle Pnacl_M25_PPB_NaCl_Private_GetReadonlyPnaclFd(const char* filename) { 3010 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3011 return iface->GetReadonlyPnaclFd(filename); 3012 } 3013 3014 static PP_FileHandle Pnacl_M25_PPB_NaCl_Private_CreateTemporaryFile(PP_Instance instance) { 3015 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3016 return iface->CreateTemporaryFile(instance); 3017 } 3018 3019 static int32_t Pnacl_M25_PPB_NaCl_Private_GetNexeFd(PP_Instance instance, const char* pexe_url, uint32_t abi_version, uint32_t opt_level, const char* last_modified, const char* etag, PP_Bool has_no_store_header, PP_Bool* is_hit, PP_FileHandle* nexe_handle, struct PP_CompletionCallback* callback) { 3020 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3021 return iface->GetNexeFd(instance, pexe_url, abi_version, opt_level, last_modified, etag, has_no_store_header, is_hit, nexe_handle, *callback); 3022 } 3023 3024 static void Pnacl_M25_PPB_NaCl_Private_ReportTranslationFinished(PP_Instance instance, PP_Bool success) { 3025 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3026 iface->ReportTranslationFinished(instance, success); 3027 } 3028 3029 static PP_ExternalPluginResult Pnacl_M25_PPB_NaCl_Private_ReportNaClError(PP_Instance instance, PP_NaClError message_id) { 3030 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3031 return iface->ReportNaClError(instance, message_id); 3032 } 3033 3034 static PP_FileHandle Pnacl_M25_PPB_NaCl_Private_OpenNaClExecutable(PP_Instance instance, const char* file_url, uint64_t* file_token_lo, uint64_t* file_token_hi) { 3035 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3036 return iface->OpenNaClExecutable(instance, file_url, file_token_lo, file_token_hi); 3037 } 3038 3039 static void Pnacl_M25_PPB_NaCl_Private_DispatchEvent(PP_Instance instance, PP_NaClEventType event_type, struct PP_Var* resource_url, PP_Bool length_is_computable, uint64_t loaded_bytes, uint64_t total_bytes) { 3040 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3041 iface->DispatchEvent(instance, event_type, *resource_url, length_is_computable, loaded_bytes, total_bytes); 3042 } 3043 3044 static void Pnacl_M25_PPB_NaCl_Private_SetReadOnlyProperty(PP_Instance instance, struct PP_Var* key, struct PP_Var* value) { 3045 const struct PPB_NaCl_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NaCl_Private_1_0.real_iface; 3046 iface->SetReadOnlyProperty(instance, *key, *value); 3047 } 3048 3049 /* End wrapper methods for PPB_NaCl_Private_1_0 */ 3050 3051 /* Begin wrapper methods for PPB_NetAddress_Private_0_1 */ 3052 3053 static PP_Bool Pnacl_M17_PPB_NetAddress_Private_AreEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3054 const struct PPB_NetAddress_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1.real_iface; 3055 return iface->AreEqual(addr1, addr2); 3056 } 3057 3058 static PP_Bool Pnacl_M17_PPB_NetAddress_Private_AreHostsEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3059 const struct PPB_NetAddress_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1.real_iface; 3060 return iface->AreHostsEqual(addr1, addr2); 3061 } 3062 3063 static void Pnacl_M17_PPB_NetAddress_Private_Describe(struct PP_Var* _struct_result, PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port) { 3064 const struct PPB_NetAddress_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1.real_iface; 3065 *_struct_result = iface->Describe(module, addr, include_port); 3066 } 3067 3068 static PP_Bool Pnacl_M17_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out) { 3069 const struct PPB_NetAddress_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1.real_iface; 3070 return iface->ReplacePort(src_addr, port, addr_out); 3071 } 3072 3073 static void Pnacl_M17_PPB_NetAddress_Private_GetAnyAddress(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr) { 3074 const struct PPB_NetAddress_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1.real_iface; 3075 iface->GetAnyAddress(is_ipv6, addr); 3076 } 3077 3078 /* End wrapper methods for PPB_NetAddress_Private_0_1 */ 3079 3080 /* Begin wrapper methods for PPB_NetAddress_Private_1_0 */ 3081 3082 static PP_Bool Pnacl_M19_0_PPB_NetAddress_Private_AreEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3083 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3084 return iface->AreEqual(addr1, addr2); 3085 } 3086 3087 static PP_Bool Pnacl_M19_0_PPB_NetAddress_Private_AreHostsEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3088 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3089 return iface->AreHostsEqual(addr1, addr2); 3090 } 3091 3092 static void Pnacl_M19_0_PPB_NetAddress_Private_Describe(struct PP_Var* _struct_result, PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port) { 3093 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3094 *_struct_result = iface->Describe(module, addr, include_port); 3095 } 3096 3097 static PP_Bool Pnacl_M19_0_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out) { 3098 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3099 return iface->ReplacePort(src_addr, port, addr_out); 3100 } 3101 3102 static void Pnacl_M19_0_PPB_NetAddress_Private_GetAnyAddress(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr) { 3103 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3104 iface->GetAnyAddress(is_ipv6, addr); 3105 } 3106 3107 static PP_NetAddressFamily_Private Pnacl_M19_0_PPB_NetAddress_Private_GetFamily(const struct PP_NetAddress_Private* addr) { 3108 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3109 return iface->GetFamily(addr); 3110 } 3111 3112 static uint16_t Pnacl_M19_0_PPB_NetAddress_Private_GetPort(const struct PP_NetAddress_Private* addr) { 3113 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3114 return iface->GetPort(addr); 3115 } 3116 3117 static PP_Bool Pnacl_M19_0_PPB_NetAddress_Private_GetAddress(const struct PP_NetAddress_Private* addr, void* address, uint16_t address_size) { 3118 const struct PPB_NetAddress_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0.real_iface; 3119 return iface->GetAddress(addr, address, address_size); 3120 } 3121 3122 /* End wrapper methods for PPB_NetAddress_Private_1_0 */ 3123 3124 /* Begin wrapper methods for PPB_NetAddress_Private_1_1 */ 3125 3126 static PP_Bool Pnacl_M19_1_PPB_NetAddress_Private_AreEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3127 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3128 return iface->AreEqual(addr1, addr2); 3129 } 3130 3131 static PP_Bool Pnacl_M19_1_PPB_NetAddress_Private_AreHostsEqual(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2) { 3132 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3133 return iface->AreHostsEqual(addr1, addr2); 3134 } 3135 3136 static void Pnacl_M19_1_PPB_NetAddress_Private_Describe(struct PP_Var* _struct_result, PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port) { 3137 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3138 *_struct_result = iface->Describe(module, addr, include_port); 3139 } 3140 3141 static PP_Bool Pnacl_M19_1_PPB_NetAddress_Private_ReplacePort(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out) { 3142 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3143 return iface->ReplacePort(src_addr, port, addr_out); 3144 } 3145 3146 static void Pnacl_M19_1_PPB_NetAddress_Private_GetAnyAddress(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr) { 3147 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3148 iface->GetAnyAddress(is_ipv6, addr); 3149 } 3150 3151 static PP_NetAddressFamily_Private Pnacl_M19_1_PPB_NetAddress_Private_GetFamily(const struct PP_NetAddress_Private* addr) { 3152 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3153 return iface->GetFamily(addr); 3154 } 3155 3156 static uint16_t Pnacl_M19_1_PPB_NetAddress_Private_GetPort(const struct PP_NetAddress_Private* addr) { 3157 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3158 return iface->GetPort(addr); 3159 } 3160 3161 static PP_Bool Pnacl_M19_1_PPB_NetAddress_Private_GetAddress(const struct PP_NetAddress_Private* addr, void* address, uint16_t address_size) { 3162 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3163 return iface->GetAddress(addr, address, address_size); 3164 } 3165 3166 static uint32_t Pnacl_M19_1_PPB_NetAddress_Private_GetScopeID(const struct PP_NetAddress_Private* addr) { 3167 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3168 return iface->GetScopeID(addr); 3169 } 3170 3171 static void Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv4Address(const uint8_t ip[4], uint16_t port, struct PP_NetAddress_Private* addr_out) { 3172 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3173 iface->CreateFromIPv4Address(ip, port, addr_out); 3174 } 3175 3176 static void Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv6Address(const uint8_t ip[16], uint32_t scope_id, uint16_t port, struct PP_NetAddress_Private* addr_out) { 3177 const struct PPB_NetAddress_Private_1_1 *iface = Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1.real_iface; 3178 iface->CreateFromIPv6Address(ip, scope_id, port, addr_out); 3179 } 3180 3181 /* End wrapper methods for PPB_NetAddress_Private_1_1 */ 3182 3183 /* Begin wrapper methods for PPB_OutputProtection_Private_0_1 */ 3184 3185 static PP_Resource Pnacl_M31_PPB_OutputProtection_Private_Create(PP_Instance instance) { 3186 const struct PPB_OutputProtection_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1.real_iface; 3187 return iface->Create(instance); 3188 } 3189 3190 static PP_Bool Pnacl_M31_PPB_OutputProtection_Private_IsOutputProtection(PP_Resource resource) { 3191 const struct PPB_OutputProtection_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1.real_iface; 3192 return iface->IsOutputProtection(resource); 3193 } 3194 3195 static int32_t Pnacl_M31_PPB_OutputProtection_Private_QueryStatus(PP_Resource resource, uint32_t* link_mask, uint32_t* protection_mask, struct PP_CompletionCallback* callback) { 3196 const struct PPB_OutputProtection_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1.real_iface; 3197 return iface->QueryStatus(resource, link_mask, protection_mask, *callback); 3198 } 3199 3200 static int32_t Pnacl_M31_PPB_OutputProtection_Private_EnableProtection(PP_Resource resource, uint32_t desired_protection_mask, struct PP_CompletionCallback* callback) { 3201 const struct PPB_OutputProtection_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1.real_iface; 3202 return iface->EnableProtection(resource, desired_protection_mask, *callback); 3203 } 3204 3205 /* End wrapper methods for PPB_OutputProtection_Private_0_1 */ 3206 3207 /* Begin wrapper methods for PPB_PlatformVerification_Private_0_2 */ 3208 3209 static PP_Resource Pnacl_M32_PPB_PlatformVerification_Private_Create(PP_Instance instance) { 3210 const struct PPB_PlatformVerification_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2.real_iface; 3211 return iface->Create(instance); 3212 } 3213 3214 static PP_Bool Pnacl_M32_PPB_PlatformVerification_Private_IsPlatformVerification(PP_Resource resource) { 3215 const struct PPB_PlatformVerification_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2.real_iface; 3216 return iface->IsPlatformVerification(resource); 3217 } 3218 3219 static int32_t Pnacl_M32_PPB_PlatformVerification_Private_ChallengePlatform(PP_Resource instance, struct PP_Var* service_id, struct PP_Var* challenge, struct PP_Var* signed_data, struct PP_Var* signed_data_signature, struct PP_Var* platform_key_certificate, struct PP_CompletionCallback* callback) { 3220 const struct PPB_PlatformVerification_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2.real_iface; 3221 return iface->ChallengePlatform(instance, *service_id, *challenge, signed_data, signed_data_signature, platform_key_certificate, *callback); 3222 } 3223 3224 /* End wrapper methods for PPB_PlatformVerification_Private_0_2 */ 3225 3226 /* Begin wrapper methods for PPB_Talk_Private_1_0 */ 3227 3228 static PP_Resource Pnacl_M19_PPB_Talk_Private_Create(PP_Instance instance) { 3229 const struct PPB_Talk_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_1_0.real_iface; 3230 return iface->Create(instance); 3231 } 3232 3233 static int32_t Pnacl_M19_PPB_Talk_Private_GetPermission(PP_Resource talk_resource, struct PP_CompletionCallback* callback) { 3234 const struct PPB_Talk_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_1_0.real_iface; 3235 return iface->GetPermission(talk_resource, *callback); 3236 } 3237 3238 /* End wrapper methods for PPB_Talk_Private_1_0 */ 3239 3240 /* Begin wrapper methods for PPB_Talk_Private_2_0 */ 3241 3242 static PP_Resource Pnacl_M29_PPB_Talk_Private_Create(PP_Instance instance) { 3243 const struct PPB_Talk_Private_2_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_2_0.real_iface; 3244 return iface->Create(instance); 3245 } 3246 3247 static int32_t Pnacl_M29_PPB_Talk_Private_RequestPermission(PP_Resource talk_resource, PP_TalkPermission permission, struct PP_CompletionCallback* callback) { 3248 const struct PPB_Talk_Private_2_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_2_0.real_iface; 3249 return iface->RequestPermission(talk_resource, permission, *callback); 3250 } 3251 3252 static int32_t Pnacl_M29_PPB_Talk_Private_StartRemoting(PP_Resource talk_resource, PP_TalkEventCallback event_callback, void* user_data, struct PP_CompletionCallback* callback) { 3253 const struct PPB_Talk_Private_2_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_2_0.real_iface; 3254 return iface->StartRemoting(talk_resource, event_callback, user_data, *callback); 3255 } 3256 3257 static int32_t Pnacl_M29_PPB_Talk_Private_StopRemoting(PP_Resource talk_resource, struct PP_CompletionCallback* callback) { 3258 const struct PPB_Talk_Private_2_0 *iface = Pnacl_WrapperInfo_PPB_Talk_Private_2_0.real_iface; 3259 return iface->StopRemoting(talk_resource, *callback); 3260 } 3261 3262 /* End wrapper methods for PPB_Talk_Private_2_0 */ 3263 3264 /* Begin wrapper methods for PPB_TCPServerSocket_Private_0_1 */ 3265 3266 static PP_Resource Pnacl_M18_PPB_TCPServerSocket_Private_Create(PP_Instance instance) { 3267 const struct PPB_TCPServerSocket_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1.real_iface; 3268 return iface->Create(instance); 3269 } 3270 3271 static PP_Bool Pnacl_M18_PPB_TCPServerSocket_Private_IsTCPServerSocket(PP_Resource resource) { 3272 const struct PPB_TCPServerSocket_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1.real_iface; 3273 return iface->IsTCPServerSocket(resource); 3274 } 3275 3276 static int32_t Pnacl_M18_PPB_TCPServerSocket_Private_Listen(PP_Resource tcp_server_socket, const struct PP_NetAddress_Private* addr, int32_t backlog, struct PP_CompletionCallback* callback) { 3277 const struct PPB_TCPServerSocket_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1.real_iface; 3278 return iface->Listen(tcp_server_socket, addr, backlog, *callback); 3279 } 3280 3281 static int32_t Pnacl_M18_PPB_TCPServerSocket_Private_Accept(PP_Resource tcp_server_socket, PP_Resource* tcp_socket, struct PP_CompletionCallback* callback) { 3282 const struct PPB_TCPServerSocket_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1.real_iface; 3283 return iface->Accept(tcp_server_socket, tcp_socket, *callback); 3284 } 3285 3286 static void Pnacl_M18_PPB_TCPServerSocket_Private_StopListening(PP_Resource tcp_server_socket) { 3287 const struct PPB_TCPServerSocket_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1.real_iface; 3288 iface->StopListening(tcp_server_socket); 3289 } 3290 3291 /* End wrapper methods for PPB_TCPServerSocket_Private_0_1 */ 3292 3293 /* Begin wrapper methods for PPB_TCPServerSocket_Private_0_2 */ 3294 3295 static PP_Resource Pnacl_M28_PPB_TCPServerSocket_Private_Create(PP_Instance instance) { 3296 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3297 return iface->Create(instance); 3298 } 3299 3300 static PP_Bool Pnacl_M28_PPB_TCPServerSocket_Private_IsTCPServerSocket(PP_Resource resource) { 3301 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3302 return iface->IsTCPServerSocket(resource); 3303 } 3304 3305 static int32_t Pnacl_M28_PPB_TCPServerSocket_Private_Listen(PP_Resource tcp_server_socket, const struct PP_NetAddress_Private* addr, int32_t backlog, struct PP_CompletionCallback* callback) { 3306 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3307 return iface->Listen(tcp_server_socket, addr, backlog, *callback); 3308 } 3309 3310 static int32_t Pnacl_M28_PPB_TCPServerSocket_Private_Accept(PP_Resource tcp_server_socket, PP_Resource* tcp_socket, struct PP_CompletionCallback* callback) { 3311 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3312 return iface->Accept(tcp_server_socket, tcp_socket, *callback); 3313 } 3314 3315 static int32_t Pnacl_M28_PPB_TCPServerSocket_Private_GetLocalAddress(PP_Resource tcp_server_socket, struct PP_NetAddress_Private* addr) { 3316 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3317 return iface->GetLocalAddress(tcp_server_socket, addr); 3318 } 3319 3320 static void Pnacl_M28_PPB_TCPServerSocket_Private_StopListening(PP_Resource tcp_server_socket) { 3321 const struct PPB_TCPServerSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2.real_iface; 3322 iface->StopListening(tcp_server_socket); 3323 } 3324 3325 /* End wrapper methods for PPB_TCPServerSocket_Private_0_2 */ 3326 3327 /* Begin wrapper methods for PPB_TCPSocket_Private_0_3 */ 3328 3329 static PP_Resource Pnacl_M17_PPB_TCPSocket_Private_Create(PP_Instance instance) { 3330 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3331 return iface->Create(instance); 3332 } 3333 3334 static PP_Bool Pnacl_M17_PPB_TCPSocket_Private_IsTCPSocket(PP_Resource resource) { 3335 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3336 return iface->IsTCPSocket(resource); 3337 } 3338 3339 static int32_t Pnacl_M17_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback* callback) { 3340 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3341 return iface->Connect(tcp_socket, host, port, *callback); 3342 } 3343 3344 static int32_t Pnacl_M17_PPB_TCPSocket_Private_ConnectWithNetAddress(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3345 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3346 return iface->ConnectWithNetAddress(tcp_socket, addr, *callback); 3347 } 3348 3349 static PP_Bool Pnacl_M17_PPB_TCPSocket_Private_GetLocalAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr) { 3350 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3351 return iface->GetLocalAddress(tcp_socket, local_addr); 3352 } 3353 3354 static PP_Bool Pnacl_M17_PPB_TCPSocket_Private_GetRemoteAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr) { 3355 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3356 return iface->GetRemoteAddress(tcp_socket, remote_addr); 3357 } 3358 3359 static int32_t Pnacl_M17_PPB_TCPSocket_Private_SSLHandshake(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback* callback) { 3360 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3361 return iface->SSLHandshake(tcp_socket, server_name, server_port, *callback); 3362 } 3363 3364 static int32_t Pnacl_M17_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 3365 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3366 return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); 3367 } 3368 3369 static int32_t Pnacl_M17_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 3370 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3371 return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); 3372 } 3373 3374 static void Pnacl_M17_PPB_TCPSocket_Private_Disconnect(PP_Resource tcp_socket) { 3375 const struct PPB_TCPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3.real_iface; 3376 iface->Disconnect(tcp_socket); 3377 } 3378 3379 /* End wrapper methods for PPB_TCPSocket_Private_0_3 */ 3380 3381 /* Begin wrapper methods for PPB_TCPSocket_Private_0_4 */ 3382 3383 static PP_Resource Pnacl_M20_PPB_TCPSocket_Private_Create(PP_Instance instance) { 3384 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3385 return iface->Create(instance); 3386 } 3387 3388 static PP_Bool Pnacl_M20_PPB_TCPSocket_Private_IsTCPSocket(PP_Resource resource) { 3389 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3390 return iface->IsTCPSocket(resource); 3391 } 3392 3393 static int32_t Pnacl_M20_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback* callback) { 3394 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3395 return iface->Connect(tcp_socket, host, port, *callback); 3396 } 3397 3398 static int32_t Pnacl_M20_PPB_TCPSocket_Private_ConnectWithNetAddress(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3399 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3400 return iface->ConnectWithNetAddress(tcp_socket, addr, *callback); 3401 } 3402 3403 static PP_Bool Pnacl_M20_PPB_TCPSocket_Private_GetLocalAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr) { 3404 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3405 return iface->GetLocalAddress(tcp_socket, local_addr); 3406 } 3407 3408 static PP_Bool Pnacl_M20_PPB_TCPSocket_Private_GetRemoteAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr) { 3409 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3410 return iface->GetRemoteAddress(tcp_socket, remote_addr); 3411 } 3412 3413 static int32_t Pnacl_M20_PPB_TCPSocket_Private_SSLHandshake(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback* callback) { 3414 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3415 return iface->SSLHandshake(tcp_socket, server_name, server_port, *callback); 3416 } 3417 3418 static PP_Resource Pnacl_M20_PPB_TCPSocket_Private_GetServerCertificate(PP_Resource tcp_socket) { 3419 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3420 return iface->GetServerCertificate(tcp_socket); 3421 } 3422 3423 static PP_Bool Pnacl_M20_PPB_TCPSocket_Private_AddChainBuildingCertificate(PP_Resource tcp_socket, PP_Resource certificate, PP_Bool is_trusted) { 3424 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3425 return iface->AddChainBuildingCertificate(tcp_socket, certificate, is_trusted); 3426 } 3427 3428 static int32_t Pnacl_M20_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 3429 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3430 return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); 3431 } 3432 3433 static int32_t Pnacl_M20_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 3434 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3435 return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); 3436 } 3437 3438 static void Pnacl_M20_PPB_TCPSocket_Private_Disconnect(PP_Resource tcp_socket) { 3439 const struct PPB_TCPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4.real_iface; 3440 iface->Disconnect(tcp_socket); 3441 } 3442 3443 /* End wrapper methods for PPB_TCPSocket_Private_0_4 */ 3444 3445 /* Begin wrapper methods for PPB_TCPSocket_Private_0_5 */ 3446 3447 static PP_Resource Pnacl_M27_PPB_TCPSocket_Private_Create(PP_Instance instance) { 3448 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3449 return iface->Create(instance); 3450 } 3451 3452 static PP_Bool Pnacl_M27_PPB_TCPSocket_Private_IsTCPSocket(PP_Resource resource) { 3453 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3454 return iface->IsTCPSocket(resource); 3455 } 3456 3457 static int32_t Pnacl_M27_PPB_TCPSocket_Private_Connect(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback* callback) { 3458 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3459 return iface->Connect(tcp_socket, host, port, *callback); 3460 } 3461 3462 static int32_t Pnacl_M27_PPB_TCPSocket_Private_ConnectWithNetAddress(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3463 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3464 return iface->ConnectWithNetAddress(tcp_socket, addr, *callback); 3465 } 3466 3467 static PP_Bool Pnacl_M27_PPB_TCPSocket_Private_GetLocalAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr) { 3468 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3469 return iface->GetLocalAddress(tcp_socket, local_addr); 3470 } 3471 3472 static PP_Bool Pnacl_M27_PPB_TCPSocket_Private_GetRemoteAddress(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr) { 3473 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3474 return iface->GetRemoteAddress(tcp_socket, remote_addr); 3475 } 3476 3477 static int32_t Pnacl_M27_PPB_TCPSocket_Private_SSLHandshake(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback* callback) { 3478 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3479 return iface->SSLHandshake(tcp_socket, server_name, server_port, *callback); 3480 } 3481 3482 static PP_Resource Pnacl_M27_PPB_TCPSocket_Private_GetServerCertificate(PP_Resource tcp_socket) { 3483 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3484 return iface->GetServerCertificate(tcp_socket); 3485 } 3486 3487 static PP_Bool Pnacl_M27_PPB_TCPSocket_Private_AddChainBuildingCertificate(PP_Resource tcp_socket, PP_Resource certificate, PP_Bool is_trusted) { 3488 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3489 return iface->AddChainBuildingCertificate(tcp_socket, certificate, is_trusted); 3490 } 3491 3492 static int32_t Pnacl_M27_PPB_TCPSocket_Private_Read(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback* callback) { 3493 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3494 return iface->Read(tcp_socket, buffer, bytes_to_read, *callback); 3495 } 3496 3497 static int32_t Pnacl_M27_PPB_TCPSocket_Private_Write(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback* callback) { 3498 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3499 return iface->Write(tcp_socket, buffer, bytes_to_write, *callback); 3500 } 3501 3502 static void Pnacl_M27_PPB_TCPSocket_Private_Disconnect(PP_Resource tcp_socket) { 3503 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3504 iface->Disconnect(tcp_socket); 3505 } 3506 3507 static int32_t Pnacl_M27_PPB_TCPSocket_Private_SetOption(PP_Resource tcp_socket, PP_TCPSocketOption_Private name, struct PP_Var* value, struct PP_CompletionCallback* callback) { 3508 const struct PPB_TCPSocket_Private_0_5 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5.real_iface; 3509 return iface->SetOption(tcp_socket, name, *value, *callback); 3510 } 3511 3512 /* End wrapper methods for PPB_TCPSocket_Private_0_5 */ 3513 3514 /* Begin wrapper methods for PPB_Testing_Private_1_0 */ 3515 3516 static PP_Bool Pnacl_M33_PPB_Testing_Private_ReadImageData(PP_Resource device_context_2d, PP_Resource image, const struct PP_Point* top_left) { 3517 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3518 return iface->ReadImageData(device_context_2d, image, top_left); 3519 } 3520 3521 static void Pnacl_M33_PPB_Testing_Private_RunMessageLoop(PP_Instance instance) { 3522 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3523 iface->RunMessageLoop(instance); 3524 } 3525 3526 static void Pnacl_M33_PPB_Testing_Private_QuitMessageLoop(PP_Instance instance) { 3527 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3528 iface->QuitMessageLoop(instance); 3529 } 3530 3531 static uint32_t Pnacl_M33_PPB_Testing_Private_GetLiveObjectsForInstance(PP_Instance instance) { 3532 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3533 return iface->GetLiveObjectsForInstance(instance); 3534 } 3535 3536 static PP_Bool Pnacl_M33_PPB_Testing_Private_IsOutOfProcess(void) { 3537 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3538 return iface->IsOutOfProcess(); 3539 } 3540 3541 static void Pnacl_M33_PPB_Testing_Private_SimulateInputEvent(PP_Instance instance, PP_Resource input_event) { 3542 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3543 iface->SimulateInputEvent(instance, input_event); 3544 } 3545 3546 static void Pnacl_M33_PPB_Testing_Private_GetDocumentURL(struct PP_Var* _struct_result, PP_Instance instance, struct PP_URLComponents_Dev* components) { 3547 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3548 *_struct_result = iface->GetDocumentURL(instance, components); 3549 } 3550 3551 static uint32_t Pnacl_M33_PPB_Testing_Private_GetLiveVars(struct PP_Var live_vars[], uint32_t array_size) { 3552 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3553 return iface->GetLiveVars(live_vars, array_size); 3554 } 3555 3556 static void Pnacl_M33_PPB_Testing_Private_SetMinimumArrayBufferSizeForShmem(PP_Instance instance, uint32_t threshold) { 3557 const struct PPB_Testing_Private_1_0 *iface = Pnacl_WrapperInfo_PPB_Testing_Private_1_0.real_iface; 3558 iface->SetMinimumArrayBufferSizeForShmem(instance, threshold); 3559 } 3560 3561 /* End wrapper methods for PPB_Testing_Private_1_0 */ 3562 3563 /* Begin wrapper methods for PPB_UDPSocket_Private_0_2 */ 3564 3565 static PP_Resource Pnacl_M17_PPB_UDPSocket_Private_Create(PP_Instance instance_id) { 3566 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 3567 return iface->Create(instance_id); 3568 } 3569 3570 static PP_Bool Pnacl_M17_PPB_UDPSocket_Private_IsUDPSocket(PP_Resource resource_id) { 3571 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 3572 return iface->IsUDPSocket(resource_id); 3573 } 3574 3575 static int32_t Pnacl_M17_PPB_UDPSocket_Private_Bind(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3576 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 3577 return iface->Bind(udp_socket, addr, *callback); 3578 } 3579 3580 static int32_t Pnacl_M17_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback* callback) { 3581 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 3582 return iface->RecvFrom(udp_socket, buffer, num_bytes, *callback); 3583 } 3584 3585 static PP_Bool Pnacl_M17_PPB_UDPSocket_Private_GetRecvFromAddress(PP_Resource udp_socket, struct PP_NetAddress_Private* addr) { 3586 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 3587 return iface->GetRecvFromAddress(udp_socket, addr); 3588 } 3589 3590 static int32_t Pnacl_M17_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3591 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 3592 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); 3593 } 3594 3595 static void Pnacl_M17_PPB_UDPSocket_Private_Close(PP_Resource udp_socket) { 3596 const struct PPB_UDPSocket_Private_0_2 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2.real_iface; 3597 iface->Close(udp_socket); 3598 } 3599 3600 /* End wrapper methods for PPB_UDPSocket_Private_0_2 */ 3601 3602 /* Begin wrapper methods for PPB_UDPSocket_Private_0_3 */ 3603 3604 static PP_Resource Pnacl_M19_PPB_UDPSocket_Private_Create(PP_Instance instance_id) { 3605 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 3606 return iface->Create(instance_id); 3607 } 3608 3609 static PP_Bool Pnacl_M19_PPB_UDPSocket_Private_IsUDPSocket(PP_Resource resource_id) { 3610 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 3611 return iface->IsUDPSocket(resource_id); 3612 } 3613 3614 static int32_t Pnacl_M19_PPB_UDPSocket_Private_Bind(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3615 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 3616 return iface->Bind(udp_socket, addr, *callback); 3617 } 3618 3619 static PP_Bool Pnacl_M19_PPB_UDPSocket_Private_GetBoundAddress(PP_Resource udp_socket, struct PP_NetAddress_Private* addr) { 3620 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 3621 return iface->GetBoundAddress(udp_socket, addr); 3622 } 3623 3624 static int32_t Pnacl_M19_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback* callback) { 3625 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 3626 return iface->RecvFrom(udp_socket, buffer, num_bytes, *callback); 3627 } 3628 3629 static PP_Bool Pnacl_M19_PPB_UDPSocket_Private_GetRecvFromAddress(PP_Resource udp_socket, struct PP_NetAddress_Private* addr) { 3630 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 3631 return iface->GetRecvFromAddress(udp_socket, addr); 3632 } 3633 3634 static int32_t Pnacl_M19_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3635 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 3636 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); 3637 } 3638 3639 static void Pnacl_M19_PPB_UDPSocket_Private_Close(PP_Resource udp_socket) { 3640 const struct PPB_UDPSocket_Private_0_3 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3.real_iface; 3641 iface->Close(udp_socket); 3642 } 3643 3644 /* End wrapper methods for PPB_UDPSocket_Private_0_3 */ 3645 3646 /* Begin wrapper methods for PPB_UDPSocket_Private_0_4 */ 3647 3648 static PP_Resource Pnacl_M23_PPB_UDPSocket_Private_Create(PP_Instance instance_id) { 3649 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 3650 return iface->Create(instance_id); 3651 } 3652 3653 static PP_Bool Pnacl_M23_PPB_UDPSocket_Private_IsUDPSocket(PP_Resource resource_id) { 3654 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 3655 return iface->IsUDPSocket(resource_id); 3656 } 3657 3658 static int32_t Pnacl_M23_PPB_UDPSocket_Private_SetSocketFeature(PP_Resource udp_socket, PP_UDPSocketFeature_Private name, struct PP_Var* value) { 3659 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 3660 return iface->SetSocketFeature(udp_socket, name, *value); 3661 } 3662 3663 static int32_t Pnacl_M23_PPB_UDPSocket_Private_Bind(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3664 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 3665 return iface->Bind(udp_socket, addr, *callback); 3666 } 3667 3668 static PP_Bool Pnacl_M23_PPB_UDPSocket_Private_GetBoundAddress(PP_Resource udp_socket, struct PP_NetAddress_Private* addr) { 3669 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 3670 return iface->GetBoundAddress(udp_socket, addr); 3671 } 3672 3673 static int32_t Pnacl_M23_PPB_UDPSocket_Private_RecvFrom(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback* callback) { 3674 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 3675 return iface->RecvFrom(udp_socket, buffer, num_bytes, *callback); 3676 } 3677 3678 static PP_Bool Pnacl_M23_PPB_UDPSocket_Private_GetRecvFromAddress(PP_Resource udp_socket, struct PP_NetAddress_Private* addr) { 3679 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 3680 return iface->GetRecvFromAddress(udp_socket, addr); 3681 } 3682 3683 static int32_t Pnacl_M23_PPB_UDPSocket_Private_SendTo(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback* callback) { 3684 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 3685 return iface->SendTo(udp_socket, buffer, num_bytes, addr, *callback); 3686 } 3687 3688 static void Pnacl_M23_PPB_UDPSocket_Private_Close(PP_Resource udp_socket) { 3689 const struct PPB_UDPSocket_Private_0_4 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4.real_iface; 3690 iface->Close(udp_socket); 3691 } 3692 3693 /* End wrapper methods for PPB_UDPSocket_Private_0_4 */ 3694 3695 /* Begin wrapper methods for PPB_UMA_Private_0_1 */ 3696 3697 static void Pnacl_M18_PPB_UMA_Private_HistogramCustomTimes(struct PP_Var* name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count) { 3698 const struct PPB_UMA_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_1.real_iface; 3699 iface->HistogramCustomTimes(*name, sample, min, max, bucket_count); 3700 } 3701 3702 static void Pnacl_M18_PPB_UMA_Private_HistogramCustomCounts(struct PP_Var* name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count) { 3703 const struct PPB_UMA_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_1.real_iface; 3704 iface->HistogramCustomCounts(*name, sample, min, max, bucket_count); 3705 } 3706 3707 static void Pnacl_M18_PPB_UMA_Private_HistogramEnumeration(struct PP_Var* name, int32_t sample, int32_t boundary_value) { 3708 const struct PPB_UMA_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_UMA_Private_0_1.real_iface; 3709 iface->HistogramEnumeration(*name, sample, boundary_value); 3710 } 3711 3712 /* End wrapper methods for PPB_UMA_Private_0_1 */ 3713 3714 /* Begin wrapper methods for PPB_VideoDestination_Private_0_1 */ 3715 3716 static PP_Resource Pnacl_M28_PPB_VideoDestination_Private_Create(PP_Instance instance) { 3717 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1.real_iface; 3718 return iface->Create(instance); 3719 } 3720 3721 static PP_Bool Pnacl_M28_PPB_VideoDestination_Private_IsVideoDestination(PP_Resource resource) { 3722 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1.real_iface; 3723 return iface->IsVideoDestination(resource); 3724 } 3725 3726 static int32_t Pnacl_M28_PPB_VideoDestination_Private_Open(PP_Resource destination, struct PP_Var* stream_url, struct PP_CompletionCallback* callback) { 3727 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1.real_iface; 3728 return iface->Open(destination, *stream_url, *callback); 3729 } 3730 3731 static int32_t Pnacl_M28_PPB_VideoDestination_Private_PutFrame(PP_Resource destination, const struct PP_VideoFrame_Private* frame) { 3732 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1.real_iface; 3733 return iface->PutFrame(destination, frame); 3734 } 3735 3736 static void Pnacl_M28_PPB_VideoDestination_Private_Close(PP_Resource destination) { 3737 const struct PPB_VideoDestination_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1.real_iface; 3738 iface->Close(destination); 3739 } 3740 3741 /* End wrapper methods for PPB_VideoDestination_Private_0_1 */ 3742 3743 /* Begin wrapper methods for PPB_VideoSource_Private_0_1 */ 3744 3745 static PP_Resource Pnacl_M28_PPB_VideoSource_Private_Create(PP_Instance instance) { 3746 const struct PPB_VideoSource_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1.real_iface; 3747 return iface->Create(instance); 3748 } 3749 3750 static PP_Bool Pnacl_M28_PPB_VideoSource_Private_IsVideoSource(PP_Resource resource) { 3751 const struct PPB_VideoSource_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1.real_iface; 3752 return iface->IsVideoSource(resource); 3753 } 3754 3755 static int32_t Pnacl_M28_PPB_VideoSource_Private_Open(PP_Resource source, struct PP_Var* stream_url, struct PP_CompletionCallback* callback) { 3756 const struct PPB_VideoSource_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1.real_iface; 3757 return iface->Open(source, *stream_url, *callback); 3758 } 3759 3760 static int32_t Pnacl_M28_PPB_VideoSource_Private_GetFrame(PP_Resource source, struct PP_VideoFrame_Private* frame, struct PP_CompletionCallback* callback) { 3761 const struct PPB_VideoSource_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1.real_iface; 3762 return iface->GetFrame(source, frame, *callback); 3763 } 3764 3765 static void Pnacl_M28_PPB_VideoSource_Private_Close(PP_Resource source) { 3766 const struct PPB_VideoSource_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1.real_iface; 3767 iface->Close(source); 3768 } 3769 3770 /* End wrapper methods for PPB_VideoSource_Private_0_1 */ 3771 3772 /* Begin wrapper methods for PPB_X509Certificate_Private_0_1 */ 3773 3774 static PP_Resource Pnacl_M19_PPB_X509Certificate_Private_Create(PP_Instance instance) { 3775 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1.real_iface; 3776 return iface->Create(instance); 3777 } 3778 3779 static PP_Bool Pnacl_M19_PPB_X509Certificate_Private_IsX509CertificatePrivate(PP_Resource resource) { 3780 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1.real_iface; 3781 return iface->IsX509CertificatePrivate(resource); 3782 } 3783 3784 static PP_Bool Pnacl_M19_PPB_X509Certificate_Private_Initialize(PP_Resource resource, const char* bytes, uint32_t length) { 3785 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1.real_iface; 3786 return iface->Initialize(resource, bytes, length); 3787 } 3788 3789 static void Pnacl_M19_PPB_X509Certificate_Private_GetField(struct PP_Var* _struct_result, PP_Resource resource, PP_X509Certificate_Private_Field field) { 3790 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1.real_iface; 3791 *_struct_result = iface->GetField(resource, field); 3792 } 3793 3794 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ 3795 3796 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_9 */ 3797 3798 static void Pnacl_M33_PPP_ContentDecryptor_Private_Initialize(PP_Instance instance, struct PP_Var key_system) { 3799 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9.real_iface; 3800 void (*temp_fp)(PP_Instance instance, struct PP_Var* key_system) = 3801 ((void (*)(PP_Instance instance, struct PP_Var* key_system))iface->Initialize); 3802 temp_fp(instance, &key_system); 3803 } 3804 3805 static void Pnacl_M33_PPP_ContentDecryptor_Private_CreateSession(PP_Instance instance, uint32_t session_id, struct PP_Var type, struct PP_Var init_data) { 3806 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9.real_iface; 3807 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* type, struct PP_Var* init_data) = 3808 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* type, struct PP_Var* init_data))iface->CreateSession); 3809 temp_fp(instance, session_id, &type, &init_data); 3810 } 3811 3812 static void Pnacl_M33_PPP_ContentDecryptor_Private_UpdateSession(PP_Instance instance, uint32_t session_id, struct PP_Var response) { 3813 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9.real_iface; 3814 void (*temp_fp)(PP_Instance instance, uint32_t session_id, struct PP_Var* response) = 3815 ((void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var* response))iface->UpdateSession); 3816 temp_fp(instance, session_id, &response); 3817 } 3818 3819 static void Pnacl_M33_PPP_ContentDecryptor_Private_ReleaseSession(PP_Instance instance, uint32_t session_id) { 3820 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9.real_iface; 3821 void (*temp_fp)(PP_Instance instance, uint32_t session_id) = 3822 ((void (*)(PP_Instance instance, uint32_t session_id))iface->ReleaseSession); 3823 temp_fp(instance, session_id); 3824 } 3825 3826 static void Pnacl_M33_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) { 3827 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9.real_iface; 3828 void (*temp_fp)(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) = 3829 ((void (*)(PP_Instance instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); 3830 temp_fp(instance, encrypted_block, encrypted_block_info); 3831 } 3832 3833 static void Pnacl_M33_PPP_ContentDecryptor_Private_InitializeAudioDecoder(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 3834 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9.real_iface; 3835 void (*temp_fp)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data) = 3836 ((void (*)(PP_Instance instance, const struct PP_AudioDecoderConfig* decoder_config, PP_Resource codec_extra_data))iface->InitializeAudioDecoder); 3837 temp_fp(instance, decoder_config, codec_extra_data); 3838 } 3839 3840 static void Pnacl_M33_PPP_ContentDecryptor_Private_InitializeVideoDecoder(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) { 3841 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9.real_iface; 3842 void (*temp_fp)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data) = 3843 ((void (*)(PP_Instance instance, const struct PP_VideoDecoderConfig* decoder_config, PP_Resource codec_extra_data))iface->InitializeVideoDecoder); 3844 temp_fp(instance, decoder_config, codec_extra_data); 3845 } 3846 3847 static void Pnacl_M33_PPP_ContentDecryptor_Private_DeinitializeDecoder(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 3848 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9.real_iface; 3849 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) = 3850 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id))iface->DeinitializeDecoder); 3851 temp_fp(instance, decoder_type, request_id); 3852 } 3853 3854 static void Pnacl_M33_PPP_ContentDecryptor_Private_ResetDecoder(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) { 3855 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9.real_iface; 3856 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id) = 3857 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id))iface->ResetDecoder); 3858 temp_fp(instance, decoder_type, request_id); 3859 } 3860 3861 static void Pnacl_M33_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info) { 3862 const struct PPP_ContentDecryptor_Private_0_9 *iface = Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9.real_iface; 3863 void (*temp_fp)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info) = 3864 ((void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, PP_Resource encrypted_buffer, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->DecryptAndDecode); 3865 temp_fp(instance, decoder_type, encrypted_buffer, encrypted_block_info); 3866 } 3867 3868 /* End wrapper methods for PPP_ContentDecryptor_Private_0_9 */ 3869 3870 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ 3871 3872 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ 3873 3874 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ 3875 3876 /* Begin wrapper methods for PPP_Instance_Private_0_1 */ 3877 3878 static struct PP_Var Pnacl_M18_PPP_Instance_Private_GetInstanceObject(PP_Instance instance) { 3879 const struct PPP_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_Instance_Private_0_1.real_iface; 3880 void (*temp_fp)(struct PP_Var* _struct_result, PP_Instance instance) = 3881 ((void (*)(struct PP_Var* _struct_result, PP_Instance instance))iface->GetInstanceObject); 3882 struct PP_Var _struct_result; 3883 temp_fp(&_struct_result, instance); 3884 return _struct_result; 3885 } 3886 3887 /* End wrapper methods for PPP_Instance_Private_0_1 */ 3888 3889 /* Begin wrapper methods for PPB_Ext_Socket_Dev_0_1 */ 3890 3891 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_Socket_CreateInfo_Dev* create_info, struct PP_CompletionCallback* callback) { 3892 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3893 return iface->Create(instance, type, options, create_info, *callback); 3894 } 3895 3896 static void Pnacl_M28_PPB_Ext_Socket_Dev_Destroy(PP_Instance instance, struct PP_Var* socket_id) { 3897 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3898 iface->Destroy(instance, *socket_id); 3899 } 3900 3901 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Connect(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* hostname, struct PP_Var* port, struct PP_Var* result, struct PP_CompletionCallback* callback) { 3902 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3903 return iface->Connect(instance, *socket_id, *hostname, *port, result, *callback); 3904 } 3905 3906 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Bind(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* address, struct PP_Var* port, struct PP_Var* result, struct PP_CompletionCallback* callback) { 3907 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3908 return iface->Bind(instance, *socket_id, *address, *port, result, *callback); 3909 } 3910 3911 static void Pnacl_M28_PPB_Ext_Socket_Dev_Disconnect(PP_Instance instance, struct PP_Var* socket_id) { 3912 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3913 iface->Disconnect(instance, *socket_id); 3914 } 3915 3916 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Read(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* buffer_size, PP_Ext_Socket_ReadInfo_Dev* read_info, struct PP_CompletionCallback* callback) { 3917 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3918 return iface->Read(instance, *socket_id, *buffer_size, read_info, *callback); 3919 } 3920 3921 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Write(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* data, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback* callback) { 3922 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3923 return iface->Write(instance, *socket_id, *data, write_info, *callback); 3924 } 3925 3926 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_RecvFrom(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* buffer_size, PP_Ext_Socket_RecvFromInfo_Dev* recv_from_info, struct PP_CompletionCallback* callback) { 3927 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3928 return iface->RecvFrom(instance, *socket_id, *buffer_size, recv_from_info, *callback); 3929 } 3930 3931 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_SendTo(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) { 3932 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3933 return iface->SendTo(instance, *socket_id, *data, *address, *port, write_info, *callback); 3934 } 3935 3936 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Listen(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* address, struct PP_Var* port, struct PP_Var* backlog, struct PP_Var* result, struct PP_CompletionCallback* callback) { 3937 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3938 return iface->Listen(instance, *socket_id, *address, *port, *backlog, result, *callback); 3939 } 3940 3941 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_Accept(PP_Instance instance, struct PP_Var* socket_id, PP_Ext_Socket_AcceptInfo_Dev* accept_info, struct PP_CompletionCallback* callback) { 3942 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3943 return iface->Accept(instance, *socket_id, accept_info, *callback); 3944 } 3945 3946 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_SetKeepAlive(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* enable, struct PP_Var* delay, struct PP_Var* result, struct PP_CompletionCallback* callback) { 3947 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3948 return iface->SetKeepAlive(instance, *socket_id, *enable, *delay, result, *callback); 3949 } 3950 3951 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_SetNoDelay(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* no_delay, struct PP_Var* result, struct PP_CompletionCallback* callback) { 3952 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3953 return iface->SetNoDelay(instance, *socket_id, *no_delay, result, *callback); 3954 } 3955 3956 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_GetInfo(PP_Instance instance, struct PP_Var* socket_id, PP_Ext_Socket_SocketInfo_Dev* result, struct PP_CompletionCallback* callback) { 3957 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3958 return iface->GetInfo(instance, *socket_id, result, *callback); 3959 } 3960 3961 static int32_t Pnacl_M28_PPB_Ext_Socket_Dev_GetNetworkList(PP_Instance instance, PP_Ext_Socket_NetworkInterface_Dev_Array* result, struct PP_CompletionCallback* callback) { 3962 const struct PPB_Ext_Socket_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1.real_iface; 3963 return iface->GetNetworkList(instance, result, *callback); 3964 } 3965 3966 /* End wrapper methods for PPB_Ext_Socket_Dev_0_1 */ 3967 3968 /* Begin wrapper methods for PPB_Ext_Socket_Dev_0_2 */ 3969 3970 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_Create(PP_Instance instance, PP_Ext_Socket_SocketType_Dev type, PP_Ext_Socket_CreateOptions_Dev options, PP_Ext_Socket_CreateInfo_Dev* create_info, struct PP_CompletionCallback* callback) { 3971 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 3972 return iface->Create(instance, type, options, create_info, *callback); 3973 } 3974 3975 static void Pnacl_M29_PPB_Ext_Socket_Dev_Destroy(PP_Instance instance, struct PP_Var* socket_id) { 3976 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 3977 iface->Destroy(instance, *socket_id); 3978 } 3979 3980 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_Connect(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* hostname, struct PP_Var* port, struct PP_Var* result, struct PP_CompletionCallback* callback) { 3981 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 3982 return iface->Connect(instance, *socket_id, *hostname, *port, result, *callback); 3983 } 3984 3985 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_Bind(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* address, struct PP_Var* port, struct PP_Var* result, struct PP_CompletionCallback* callback) { 3986 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 3987 return iface->Bind(instance, *socket_id, *address, *port, result, *callback); 3988 } 3989 3990 static void Pnacl_M29_PPB_Ext_Socket_Dev_Disconnect(PP_Instance instance, struct PP_Var* socket_id) { 3991 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 3992 iface->Disconnect(instance, *socket_id); 3993 } 3994 3995 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_Read(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* buffer_size, PP_Ext_Socket_ReadInfo_Dev* read_info, struct PP_CompletionCallback* callback) { 3996 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 3997 return iface->Read(instance, *socket_id, *buffer_size, read_info, *callback); 3998 } 3999 4000 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_Write(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* data, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback* callback) { 4001 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4002 return iface->Write(instance, *socket_id, *data, write_info, *callback); 4003 } 4004 4005 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_RecvFrom(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* buffer_size, PP_Ext_Socket_RecvFromInfo_Dev* recv_from_info, struct PP_CompletionCallback* callback) { 4006 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4007 return iface->RecvFrom(instance, *socket_id, *buffer_size, recv_from_info, *callback); 4008 } 4009 4010 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_SendTo(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) { 4011 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4012 return iface->SendTo(instance, *socket_id, *data, *address, *port, write_info, *callback); 4013 } 4014 4015 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_Listen(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* address, struct PP_Var* port, struct PP_Var* backlog, struct PP_Var* result, struct PP_CompletionCallback* callback) { 4016 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4017 return iface->Listen(instance, *socket_id, *address, *port, *backlog, result, *callback); 4018 } 4019 4020 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_Accept(PP_Instance instance, struct PP_Var* socket_id, PP_Ext_Socket_AcceptInfo_Dev* accept_info, struct PP_CompletionCallback* callback) { 4021 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4022 return iface->Accept(instance, *socket_id, accept_info, *callback); 4023 } 4024 4025 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_SetKeepAlive(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* enable, struct PP_Var* delay, struct PP_Var* result, struct PP_CompletionCallback* callback) { 4026 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4027 return iface->SetKeepAlive(instance, *socket_id, *enable, *delay, result, *callback); 4028 } 4029 4030 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_SetNoDelay(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* no_delay, struct PP_Var* result, struct PP_CompletionCallback* callback) { 4031 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4032 return iface->SetNoDelay(instance, *socket_id, *no_delay, result, *callback); 4033 } 4034 4035 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_GetInfo(PP_Instance instance, struct PP_Var* socket_id, PP_Ext_Socket_SocketInfo_Dev* result, struct PP_CompletionCallback* callback) { 4036 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4037 return iface->GetInfo(instance, *socket_id, result, *callback); 4038 } 4039 4040 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_GetNetworkList(PP_Instance instance, PP_Ext_Socket_NetworkInterface_Dev_Array* result, struct PP_CompletionCallback* callback) { 4041 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4042 return iface->GetNetworkList(instance, result, *callback); 4043 } 4044 4045 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_JoinGroup(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* address, struct PP_Var* result, struct PP_CompletionCallback* callback) { 4046 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4047 return iface->JoinGroup(instance, *socket_id, *address, result, *callback); 4048 } 4049 4050 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_LeaveGroup(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* address, struct PP_Var* result, struct PP_CompletionCallback* callback) { 4051 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4052 return iface->LeaveGroup(instance, *socket_id, *address, result, *callback); 4053 } 4054 4055 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_SetMulticastTimeToLive(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* ttl, struct PP_Var* result, struct PP_CompletionCallback* callback) { 4056 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4057 return iface->SetMulticastTimeToLive(instance, *socket_id, *ttl, result, *callback); 4058 } 4059 4060 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_SetMulticastLoopbackMode(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* enabled, struct PP_Var* result, struct PP_CompletionCallback* callback) { 4061 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4062 return iface->SetMulticastLoopbackMode(instance, *socket_id, *enabled, result, *callback); 4063 } 4064 4065 static int32_t Pnacl_M29_PPB_Ext_Socket_Dev_GetJoinedGroups(PP_Instance instance, struct PP_Var* socket_id, struct PP_Var* groups, struct PP_CompletionCallback* callback) { 4066 const struct PPB_Ext_Socket_Dev_0_2 *iface = Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2.real_iface; 4067 return iface->GetJoinedGroups(instance, *socket_id, groups, *callback); 4068 } 4069 4070 /* End wrapper methods for PPB_Ext_Socket_Dev_0_2 */ 4071 4072 /* Not generating wrapper interface for PPB_Audio_1_0 */ 4073 4074 /* Not generating wrapper interface for PPB_Audio_1_1 */ 4075 4076 /* Not generating wrapper interface for PPB_AudioConfig_1_0 */ 4077 4078 /* Not generating wrapper interface for PPB_AudioConfig_1_1 */ 4079 4080 struct PPB_Console_1_0 Pnacl_Wrappers_PPB_Console_1_0 = { 4081 .Log = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var value))&Pnacl_M25_PPB_Console_Log, 4082 .LogWithSource = (void (*)(PP_Instance instance, PP_LogLevel level, struct PP_Var source, struct PP_Var value))&Pnacl_M25_PPB_Console_LogWithSource 4083 }; 4084 4085 struct PPB_Core_1_0 Pnacl_Wrappers_PPB_Core_1_0 = { 4086 .AddRefResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_AddRefResource, 4087 .ReleaseResource = (void (*)(PP_Resource resource))&Pnacl_M14_PPB_Core_ReleaseResource, 4088 .GetTime = (PP_Time (*)(void))&Pnacl_M14_PPB_Core_GetTime, 4089 .GetTimeTicks = (PP_TimeTicks (*)(void))&Pnacl_M14_PPB_Core_GetTimeTicks, 4090 .CallOnMainThread = (void (*)(int32_t delay_in_milliseconds, struct PP_CompletionCallback callback, int32_t result))&Pnacl_M14_PPB_Core_CallOnMainThread, 4091 .IsMainThread = (PP_Bool (*)(void))&Pnacl_M14_PPB_Core_IsMainThread 4092 }; 4093 4094 struct PPB_FileIO_1_0 Pnacl_Wrappers_PPB_FileIO_1_0 = { 4095 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_FileIO_Create, 4096 .IsFileIO = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileIO_IsFileIO, 4097 .Open = (int32_t (*)(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Open, 4098 .Query = (int32_t (*)(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Query, 4099 .Touch = (int32_t (*)(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Touch, 4100 .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Read, 4101 .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Write, 4102 .SetLength = (int32_t (*)(PP_Resource file_io, int64_t length, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_SetLength, 4103 .Flush = (int32_t (*)(PP_Resource file_io, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Flush, 4104 .Close = (void (*)(PP_Resource file_io))&Pnacl_M14_PPB_FileIO_Close 4105 }; 4106 4107 struct PPB_FileIO_1_1 Pnacl_Wrappers_PPB_FileIO_1_1 = { 4108 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_FileIO_Create, 4109 .IsFileIO = (PP_Bool (*)(PP_Resource resource))&Pnacl_M25_PPB_FileIO_IsFileIO, 4110 .Open = (int32_t (*)(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Open, 4111 .Query = (int32_t (*)(PP_Resource file_io, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Query, 4112 .Touch = (int32_t (*)(PP_Resource file_io, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Touch, 4113 .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Read, 4114 .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Write, 4115 .SetLength = (int32_t (*)(PP_Resource file_io, int64_t length, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_SetLength, 4116 .Flush = (int32_t (*)(PP_Resource file_io, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Flush, 4117 .Close = (void (*)(PP_Resource file_io))&Pnacl_M25_PPB_FileIO_Close, 4118 .ReadToArray = (int32_t (*)(PP_Resource file_io, int64_t offset, int32_t max_read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_ReadToArray 4119 }; 4120 4121 struct PPB_FileRef_1_0 Pnacl_Wrappers_PPB_FileRef_1_0 = { 4122 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl_M14_PPB_FileRef_Create, 4123 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileRef_IsFileRef, 4124 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_GetFileSystemType, 4125 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_GetName, 4126 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_GetPath, 4127 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_GetParent, 4128 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancestors, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_MakeDirectory, 4129 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_Touch, 4130 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_Delete, 4131 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_Rename 4132 }; 4133 4134 struct PPB_FileRef_1_1 Pnacl_Wrappers_PPB_FileRef_1_1 = { 4135 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl_M28_PPB_FileRef_Create, 4136 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_FileRef_IsFileRef, 4137 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_GetFileSystemType, 4138 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_GetName, 4139 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_GetPath, 4140 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_GetParent, 4141 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancestors, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_MakeDirectory, 4142 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Time last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Touch, 4143 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Delete, 4144 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Rename, 4145 .Query = (int32_t (*)(PP_Resource file_ref, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Query, 4146 .ReadDirectoryEntries = (int32_t (*)(PP_Resource file_ref, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_ReadDirectoryEntries 4147 }; 4148 4149 struct PPB_FileSystem_1_0 Pnacl_Wrappers_PPB_FileSystem_1_0 = { 4150 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileSystemType type))&Pnacl_M14_PPB_FileSystem_Create, 4151 .IsFileSystem = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileSystem_IsFileSystem, 4152 .Open = (int32_t (*)(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileSystem_Open, 4153 .GetType = (PP_FileSystemType (*)(PP_Resource file_system))&Pnacl_M14_PPB_FileSystem_GetType 4154 }; 4155 4156 /* Not generating wrapper interface for PPB_Fullscreen_1_0 */ 4157 4158 /* Not generating wrapper interface for PPB_Gamepad_1_0 */ 4159 4160 struct PPB_Graphics2D_1_0 Pnacl_Wrappers_PPB_Graphics2D_1_0 = { 4161 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_Size* size, PP_Bool is_always_opaque))&Pnacl_M14_PPB_Graphics2D_Create, 4162 .IsGraphics2D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Graphics2D_IsGraphics2D, 4163 .Describe = (PP_Bool (*)(PP_Resource graphics_2d, struct PP_Size* size, PP_Bool* is_always_opaque))&Pnacl_M14_PPB_Graphics2D_Describe, 4164 .PaintImageData = (void (*)(PP_Resource graphics_2d, PP_Resource image_data, const struct PP_Point* top_left, const struct PP_Rect* src_rect))&Pnacl_M14_PPB_Graphics2D_PaintImageData, 4165 .Scroll = (void (*)(PP_Resource graphics_2d, const struct PP_Rect* clip_rect, const struct PP_Point* amount))&Pnacl_M14_PPB_Graphics2D_Scroll, 4166 .ReplaceContents = (void (*)(PP_Resource graphics_2d, PP_Resource image_data))&Pnacl_M14_PPB_Graphics2D_ReplaceContents, 4167 .Flush = (int32_t (*)(PP_Resource graphics_2d, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_Graphics2D_Flush 4168 }; 4169 4170 struct PPB_Graphics2D_1_1 Pnacl_Wrappers_PPB_Graphics2D_1_1 = { 4171 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_Size* size, PP_Bool is_always_opaque))&Pnacl_M27_PPB_Graphics2D_Create, 4172 .IsGraphics2D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M27_PPB_Graphics2D_IsGraphics2D, 4173 .Describe = (PP_Bool (*)(PP_Resource graphics_2d, struct PP_Size* size, PP_Bool* is_always_opaque))&Pnacl_M27_PPB_Graphics2D_Describe, 4174 .PaintImageData = (void (*)(PP_Resource graphics_2d, PP_Resource image_data, const struct PP_Point* top_left, const struct PP_Rect* src_rect))&Pnacl_M27_PPB_Graphics2D_PaintImageData, 4175 .Scroll = (void (*)(PP_Resource graphics_2d, const struct PP_Rect* clip_rect, const struct PP_Point* amount))&Pnacl_M27_PPB_Graphics2D_Scroll, 4176 .ReplaceContents = (void (*)(PP_Resource graphics_2d, PP_Resource image_data))&Pnacl_M27_PPB_Graphics2D_ReplaceContents, 4177 .Flush = (int32_t (*)(PP_Resource graphics_2d, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_Graphics2D_Flush, 4178 .SetScale = (PP_Bool (*)(PP_Resource resource, float scale))&Pnacl_M27_PPB_Graphics2D_SetScale, 4179 .GetScale = (float (*)(PP_Resource resource))&Pnacl_M27_PPB_Graphics2D_GetScale 4180 }; 4181 4182 struct PPB_Graphics3D_1_0 Pnacl_Wrappers_PPB_Graphics3D_1_0 = { 4183 .GetAttribMaxValue = (int32_t (*)(PP_Resource instance, int32_t attribute, int32_t* value))&Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue, 4184 .Create = (PP_Resource (*)(PP_Instance instance, PP_Resource share_context, const int32_t attrib_list[]))&Pnacl_M15_PPB_Graphics3D_Create, 4185 .IsGraphics3D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M15_PPB_Graphics3D_IsGraphics3D, 4186 .GetAttribs = (int32_t (*)(PP_Resource context, int32_t attrib_list[]))&Pnacl_M15_PPB_Graphics3D_GetAttribs, 4187 .SetAttribs = (int32_t (*)(PP_Resource context, const int32_t attrib_list[]))&Pnacl_M15_PPB_Graphics3D_SetAttribs, 4188 .GetError = (int32_t (*)(PP_Resource context))&Pnacl_M15_PPB_Graphics3D_GetError, 4189 .ResizeBuffers = (int32_t (*)(PP_Resource context, int32_t width, int32_t height))&Pnacl_M15_PPB_Graphics3D_ResizeBuffers, 4190 .SwapBuffers = (int32_t (*)(PP_Resource context, struct PP_CompletionCallback callback))&Pnacl_M15_PPB_Graphics3D_SwapBuffers 4191 }; 4192 4193 struct PPB_HostResolver_1_0 Pnacl_Wrappers_PPB_HostResolver_1_0 = { 4194 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_HostResolver_Create, 4195 .IsHostResolver = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_HostResolver_IsHostResolver, 4196 .Resolve = (int32_t (*)(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Hint* hint, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_HostResolver_Resolve, 4197 .GetCanonicalName = (struct PP_Var (*)(PP_Resource host_resolver))&Pnacl_M29_PPB_HostResolver_GetCanonicalName, 4198 .GetNetAddressCount = (uint32_t (*)(PP_Resource host_resolver))&Pnacl_M29_PPB_HostResolver_GetNetAddressCount, 4199 .GetNetAddress = (PP_Resource (*)(PP_Resource host_resolver, uint32_t index))&Pnacl_M29_PPB_HostResolver_GetNetAddress 4200 }; 4201 4202 /* Not generating wrapper interface for PPB_ImageData_1_0 */ 4203 4204 /* Not generating wrapper interface for PPB_InputEvent_1_0 */ 4205 4206 struct PPB_MouseInputEvent_1_0 Pnacl_Wrappers_PPB_MouseInputEvent_1_0 = { 4207 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, PP_InputEvent_MouseButton mouse_button, const struct PP_Point* mouse_position, int32_t click_count))&Pnacl_M13_PPB_MouseInputEvent_Create, 4208 .IsMouseInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_MouseInputEvent_IsMouseInputEvent, 4209 .GetButton = (PP_InputEvent_MouseButton (*)(PP_Resource mouse_event))&Pnacl_M13_PPB_MouseInputEvent_GetButton, 4210 .GetPosition = (struct PP_Point (*)(PP_Resource mouse_event))&Pnacl_M13_PPB_MouseInputEvent_GetPosition, 4211 .GetClickCount = (int32_t (*)(PP_Resource mouse_event))&Pnacl_M13_PPB_MouseInputEvent_GetClickCount 4212 }; 4213 4214 struct PPB_MouseInputEvent_1_1 Pnacl_Wrappers_PPB_MouseInputEvent_1_1 = { 4215 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, PP_InputEvent_MouseButton mouse_button, const struct PP_Point* mouse_position, int32_t click_count, const struct PP_Point* mouse_movement))&Pnacl_M14_PPB_MouseInputEvent_Create, 4216 .IsMouseInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_MouseInputEvent_IsMouseInputEvent, 4217 .GetButton = (PP_InputEvent_MouseButton (*)(PP_Resource mouse_event))&Pnacl_M14_PPB_MouseInputEvent_GetButton, 4218 .GetPosition = (struct PP_Point (*)(PP_Resource mouse_event))&Pnacl_M14_PPB_MouseInputEvent_GetPosition, 4219 .GetClickCount = (int32_t (*)(PP_Resource mouse_event))&Pnacl_M14_PPB_MouseInputEvent_GetClickCount, 4220 .GetMovement = (struct PP_Point (*)(PP_Resource mouse_event))&Pnacl_M14_PPB_MouseInputEvent_GetMovement 4221 }; 4222 4223 struct PPB_WheelInputEvent_1_0 Pnacl_Wrappers_PPB_WheelInputEvent_1_0 = { 4224 .Create = (PP_Resource (*)(PP_Instance instance, PP_TimeTicks time_stamp, uint32_t modifiers, const struct PP_FloatPoint* wheel_delta, const struct PP_FloatPoint* wheel_ticks, PP_Bool scroll_by_page))&Pnacl_M13_PPB_WheelInputEvent_Create, 4225 .IsWheelInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_WheelInputEvent_IsWheelInputEvent, 4226 .GetDelta = (struct PP_FloatPoint (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetDelta, 4227 .GetTicks = (struct PP_FloatPoint (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetTicks, 4228 .GetScrollByPage = (PP_Bool (*)(PP_Resource wheel_event))&Pnacl_M13_PPB_WheelInputEvent_GetScrollByPage 4229 }; 4230 4231 struct PPB_KeyboardInputEvent_1_0 Pnacl_Wrappers_PPB_KeyboardInputEvent_1_0 = { 4232 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers, uint32_t key_code, struct PP_Var character_text))&Pnacl_M13_PPB_KeyboardInputEvent_Create, 4233 .IsKeyboardInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_KeyboardInputEvent_IsKeyboardInputEvent, 4234 .GetKeyCode = (uint32_t (*)(PP_Resource key_event))&Pnacl_M13_PPB_KeyboardInputEvent_GetKeyCode, 4235 .GetCharacterText = (struct PP_Var (*)(PP_Resource character_event))&Pnacl_M13_PPB_KeyboardInputEvent_GetCharacterText 4236 }; 4237 4238 struct PPB_TouchInputEvent_1_0 Pnacl_Wrappers_PPB_TouchInputEvent_1_0 = { 4239 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, uint32_t modifiers))&Pnacl_M13_PPB_TouchInputEvent_Create, 4240 .AddTouchPoint = (void (*)(PP_Resource touch_event, PP_TouchListType list, const struct PP_TouchPoint* point))&Pnacl_M13_PPB_TouchInputEvent_AddTouchPoint, 4241 .IsTouchInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_TouchInputEvent_IsTouchInputEvent, 4242 .GetTouchCount = (uint32_t (*)(PP_Resource resource, PP_TouchListType list))&Pnacl_M13_PPB_TouchInputEvent_GetTouchCount, 4243 .GetTouchByIndex = (struct PP_TouchPoint (*)(PP_Resource resource, PP_TouchListType list, uint32_t index))&Pnacl_M13_PPB_TouchInputEvent_GetTouchByIndex, 4244 .GetTouchById = (struct PP_TouchPoint (*)(PP_Resource resource, PP_TouchListType list, uint32_t touch_id))&Pnacl_M13_PPB_TouchInputEvent_GetTouchById 4245 }; 4246 4247 struct PPB_IMEInputEvent_1_0 Pnacl_Wrappers_PPB_IMEInputEvent_1_0 = { 4248 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end))&Pnacl_M13_PPB_IMEInputEvent_Create, 4249 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInputEvent_IsIMEInputEvent, 4250 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInputEvent_GetText, 4251 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInputEvent_GetSegmentNumber, 4252 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pnacl_M13_PPB_IMEInputEvent_GetSegmentOffset, 4253 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInputEvent_GetTargetSegment, 4254 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t* end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection 4255 }; 4256 4257 /* Not generating wrapper interface for PPB_Instance_1_0 */ 4258 4259 struct PPB_MessageLoop_1_0 Pnacl_Wrappers_PPB_MessageLoop_1_0 = { 4260 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_MessageLoop_Create, 4261 .GetForMainThread = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetForMainThread, 4262 .GetCurrent = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetCurrent, 4263 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_AttachToCurrentThread, 4264 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_Run, 4265 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallback callback, int64_t delay_ms))&Pnacl_M25_PPB_MessageLoop_PostWork, 4266 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))&Pnacl_M25_PPB_MessageLoop_PostQuit 4267 }; 4268 4269 struct PPB_Messaging_1_0 Pnacl_Wrappers_PPB_Messaging_1_0 = { 4270 .PostMessage = (void (*)(PP_Instance instance, struct PP_Var message))&Pnacl_M14_PPB_Messaging_PostMessage 4271 }; 4272 4273 /* Not generating wrapper interface for PPB_MouseCursor_1_0 */ 4274 4275 struct PPB_MouseLock_1_0 Pnacl_Wrappers_PPB_MouseLock_1_0 = { 4276 .LockMouse = (int32_t (*)(PP_Instance instance, struct PP_CompletionCallback callback))&Pnacl_M16_PPB_MouseLock_LockMouse, 4277 .UnlockMouse = (void (*)(PP_Instance instance))&Pnacl_M16_PPB_MouseLock_UnlockMouse 4278 }; 4279 4280 struct PPB_NetAddress_1_0 Pnacl_Wrappers_PPB_NetAddress_1_0 = { 4281 .CreateFromIPv4Address = (PP_Resource (*)(PP_Instance instance, const struct PP_NetAddress_IPv4* ipv4_addr))&Pnacl_M29_PPB_NetAddress_CreateFromIPv4Address, 4282 .CreateFromIPv6Address = (PP_Resource (*)(PP_Instance instance, const struct PP_NetAddress_IPv6* ipv6_addr))&Pnacl_M29_PPB_NetAddress_CreateFromIPv6Address, 4283 .IsNetAddress = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_NetAddress_IsNetAddress, 4284 .GetFamily = (PP_NetAddress_Family (*)(PP_Resource addr))&Pnacl_M29_PPB_NetAddress_GetFamily, 4285 .DescribeAsString = (struct PP_Var (*)(PP_Resource addr, PP_Bool include_port))&Pnacl_M29_PPB_NetAddress_DescribeAsString, 4286 .DescribeAsIPv4Address = (PP_Bool (*)(PP_Resource addr, struct PP_NetAddress_IPv4* ipv4_addr))&Pnacl_M29_PPB_NetAddress_DescribeAsIPv4Address, 4287 .DescribeAsIPv6Address = (PP_Bool (*)(PP_Resource addr, struct PP_NetAddress_IPv6* ipv6_addr))&Pnacl_M29_PPB_NetAddress_DescribeAsIPv6Address 4288 }; 4289 4290 struct PPB_NetworkList_1_0 Pnacl_Wrappers_PPB_NetworkList_1_0 = { 4291 .IsNetworkList = (PP_Bool (*)(PP_Resource resource))&Pnacl_M31_PPB_NetworkList_IsNetworkList, 4292 .GetCount = (uint32_t (*)(PP_Resource resource))&Pnacl_M31_PPB_NetworkList_GetCount, 4293 .GetName = (struct PP_Var (*)(PP_Resource resource, uint32_t index))&Pnacl_M31_PPB_NetworkList_GetName, 4294 .GetType = (PP_NetworkList_Type (*)(PP_Resource resource, uint32_t index))&Pnacl_M31_PPB_NetworkList_GetType, 4295 .GetState = (PP_NetworkList_State (*)(PP_Resource resource, uint32_t index))&Pnacl_M31_PPB_NetworkList_GetState, 4296 .GetIpAddresses = (int32_t (*)(PP_Resource resource, uint32_t index, struct PP_ArrayOutput output))&Pnacl_M31_PPB_NetworkList_GetIpAddresses, 4297 .GetDisplayName = (struct PP_Var (*)(PP_Resource resource, uint32_t index))&Pnacl_M31_PPB_NetworkList_GetDisplayName, 4298 .GetMTU = (uint32_t (*)(PP_Resource resource, uint32_t index))&Pnacl_M31_PPB_NetworkList_GetMTU 4299 }; 4300 4301 struct PPB_NetworkMonitor_1_0 Pnacl_Wrappers_PPB_NetworkMonitor_1_0 = { 4302 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M31_PPB_NetworkMonitor_Create, 4303 .UpdateNetworkList = (int32_t (*)(PP_Resource network_monitor, PP_Resource* network_list, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_NetworkMonitor_UpdateNetworkList, 4304 .IsNetworkMonitor = (PP_Bool (*)(PP_Resource resource))&Pnacl_M31_PPB_NetworkMonitor_IsNetworkMonitor 4305 }; 4306 4307 struct PPB_NetworkProxy_1_0 Pnacl_Wrappers_PPB_NetworkProxy_1_0 = { 4308 .GetProxyForURL = (int32_t (*)(PP_Instance instance, struct PP_Var url, struct PP_Var* proxy_string, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_NetworkProxy_GetProxyForURL 4309 }; 4310 4311 struct PPB_TCPSocket_1_0 Pnacl_Wrappers_PPB_TCPSocket_1_0 = { 4312 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_TCPSocket_Create, 4313 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_TCPSocket_IsTCPSocket, 4314 .Connect = (int32_t (*)(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Connect, 4315 .GetLocalAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_TCPSocket_GetLocalAddress, 4316 .GetRemoteAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_TCPSocket_GetRemoteAddress, 4317 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Read, 4318 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Write, 4319 .Close = (void (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_TCPSocket_Close, 4320 .SetOption = (int32_t (*)(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_SetOption 4321 }; 4322 4323 struct PPB_TCPSocket_1_1 Pnacl_Wrappers_PPB_TCPSocket_1_1 = { 4324 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M31_PPB_TCPSocket_Create, 4325 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M31_PPB_TCPSocket_IsTCPSocket, 4326 .Bind = (int32_t (*)(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Bind, 4327 .Connect = (int32_t (*)(PP_Resource tcp_socket, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Connect, 4328 .GetLocalAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M31_PPB_TCPSocket_GetLocalAddress, 4329 .GetRemoteAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M31_PPB_TCPSocket_GetRemoteAddress, 4330 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Read, 4331 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Write, 4332 .Listen = (int32_t (*)(PP_Resource tcp_socket, int32_t backlog, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Listen, 4333 .Accept = (int32_t (*)(PP_Resource tcp_socket, PP_Resource* accepted_tcp_socket, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_Accept, 4334 .Close = (void (*)(PP_Resource tcp_socket))&Pnacl_M31_PPB_TCPSocket_Close, 4335 .SetOption = (int32_t (*)(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_TCPSocket_SetOption 4336 }; 4337 4338 struct PPB_TextInputController_1_0 Pnacl_Wrappers_PPB_TextInputController_1_0 = { 4339 .SetTextInputType = (void (*)(PP_Instance instance, PP_TextInput_Type type))&Pnacl_M30_PPB_TextInputController_SetTextInputType, 4340 .UpdateCaretPosition = (void (*)(PP_Instance instance, const struct PP_Rect* caret))&Pnacl_M30_PPB_TextInputController_UpdateCaretPosition, 4341 .CancelCompositionText = (void (*)(PP_Instance instance))&Pnacl_M30_PPB_TextInputController_CancelCompositionText, 4342 .UpdateSurroundingText = (void (*)(PP_Instance instance, struct PP_Var text, uint32_t caret, uint32_t anchor))&Pnacl_M30_PPB_TextInputController_UpdateSurroundingText 4343 }; 4344 4345 struct PPB_UDPSocket_1_0 Pnacl_Wrappers_PPB_UDPSocket_1_0 = { 4346 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_UDPSocket_Create, 4347 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_UDPSocket_IsUDPSocket, 4348 .Bind = (int32_t (*)(PP_Resource udp_socket, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSocket_Bind, 4349 .GetBoundAddress = (PP_Resource (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_UDPSocket_GetBoundAddress, 4350 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, PP_Resource* addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSocket_RecvFrom, 4351 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSocket_SendTo, 4352 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_UDPSocket_Close, 4353 .SetOption = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSocket_SetOption 4354 }; 4355 4356 struct PPB_URLLoader_1_0 Pnacl_Wrappers_PPB_URLLoader_1_0 = { 4357 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_URLLoader_Create, 4358 .IsURLLoader = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_URLLoader_IsURLLoader, 4359 .Open = (int32_t (*)(PP_Resource loader, PP_Resource request_info, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_Open, 4360 .FollowRedirect = (int32_t (*)(PP_Resource loader, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_FollowRedirect, 4361 .GetUploadProgress = (PP_Bool (*)(PP_Resource loader, int64_t* bytes_sent, int64_t* total_bytes_to_be_sent))&Pnacl_M14_PPB_URLLoader_GetUploadProgress, 4362 .GetDownloadProgress = (PP_Bool (*)(PP_Resource loader, int64_t* bytes_received, int64_t* total_bytes_to_be_received))&Pnacl_M14_PPB_URLLoader_GetDownloadProgress, 4363 .GetResponseInfo = (PP_Resource (*)(PP_Resource loader))&Pnacl_M14_PPB_URLLoader_GetResponseInfo, 4364 .ReadResponseBody = (int32_t (*)(PP_Resource loader, void* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_ReadResponseBody, 4365 .FinishStreamingToFile = (int32_t (*)(PP_Resource loader, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_URLLoader_FinishStreamingToFile, 4366 .Close = (void (*)(PP_Resource loader))&Pnacl_M14_PPB_URLLoader_Close 4367 }; 4368 4369 struct PPB_URLRequestInfo_1_0 Pnacl_Wrappers_PPB_URLRequestInfo_1_0 = { 4370 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M14_PPB_URLRequestInfo_Create, 4371 .IsURLRequestInfo = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_URLRequestInfo_IsURLRequestInfo, 4372 .SetProperty = (PP_Bool (*)(PP_Resource request, PP_URLRequestProperty property, struct PP_Var value))&Pnacl_M14_PPB_URLRequestInfo_SetProperty, 4373 .AppendDataToBody = (PP_Bool (*)(PP_Resource request, const void* data, uint32_t len))&Pnacl_M14_PPB_URLRequestInfo_AppendDataToBody, 4374 .AppendFileToBody = (PP_Bool (*)(PP_Resource request, PP_Resource file_ref, int64_t start_offset, int64_t number_of_bytes, PP_Time expected_last_modified_time))&Pnacl_M14_PPB_URLRequestInfo_AppendFileToBody 4375 }; 4376 4377 struct PPB_URLResponseInfo_1_0 Pnacl_Wrappers_PPB_URLResponseInfo_1_0 = { 4378 .IsURLResponseInfo = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_URLResponseInfo_IsURLResponseInfo, 4379 .GetProperty = (struct PP_Var (*)(PP_Resource response, PP_URLResponseProperty property))&Pnacl_M14_PPB_URLResponseInfo_GetProperty, 4380 .GetBodyAsFileRef = (PP_Resource (*)(PP_Resource response))&Pnacl_M14_PPB_URLResponseInfo_GetBodyAsFileRef 4381 }; 4382 4383 struct PPB_Var_1_0 Pnacl_Wrappers_PPB_Var_1_0 = { 4384 .AddRef = (void (*)(struct PP_Var var))&Pnacl_M14_PPB_Var_AddRef, 4385 .Release = (void (*)(struct PP_Var var))&Pnacl_M14_PPB_Var_Release, 4386 .VarFromUtf8 = (struct PP_Var (*)(PP_Module module, const char* data, uint32_t len))&Pnacl_M14_PPB_Var_VarFromUtf8, 4387 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M14_PPB_Var_VarToUtf8 4388 }; 4389 4390 struct PPB_Var_1_1 Pnacl_Wrappers_PPB_Var_1_1 = { 4391 .AddRef = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_AddRef, 4392 .Release = (void (*)(struct PP_Var var))&Pnacl_M18_PPB_Var_Release, 4393 .VarFromUtf8 = (struct PP_Var (*)(const char* data, uint32_t len))&Pnacl_M18_PPB_Var_VarFromUtf8, 4394 .VarToUtf8 = (const char* (*)(struct PP_Var var, uint32_t* len))&Pnacl_M18_PPB_Var_VarToUtf8 4395 }; 4396 4397 struct PPB_VarArray_1_0 Pnacl_Wrappers_PPB_VarArray_1_0 = { 4398 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarArray_Create, 4399 .Get = (struct PP_Var (*)(struct PP_Var array, uint32_t index))&Pnacl_M29_PPB_VarArray_Get, 4400 .Set = (PP_Bool (*)(struct PP_Var array, uint32_t index, struct PP_Var value))&Pnacl_M29_PPB_VarArray_Set, 4401 .GetLength = (uint32_t (*)(struct PP_Var array))&Pnacl_M29_PPB_VarArray_GetLength, 4402 .SetLength = (PP_Bool (*)(struct PP_Var array, uint32_t length))&Pnacl_M29_PPB_VarArray_SetLength 4403 }; 4404 4405 struct PPB_VarArrayBuffer_1_0 Pnacl_Wrappers_PPB_VarArrayBuffer_1_0 = { 4406 .Create = (struct PP_Var (*)(uint32_t size_in_bytes))&Pnacl_M18_PPB_VarArrayBuffer_Create, 4407 .ByteLength = (PP_Bool (*)(struct PP_Var array, uint32_t* byte_length))&Pnacl_M18_PPB_VarArrayBuffer_ByteLength, 4408 .Map = (void* (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Map, 4409 .Unmap = (void (*)(struct PP_Var array))&Pnacl_M18_PPB_VarArrayBuffer_Unmap 4410 }; 4411 4412 struct PPB_VarDictionary_1_0 Pnacl_Wrappers_PPB_VarDictionary_1_0 = { 4413 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarDictionary_Create, 4414 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_VarDictionary_Get, 4415 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var value))&Pnacl_M29_PPB_VarDictionary_Set, 4416 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_VarDictionary_Delete, 4417 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_VarDictionary_HasKey, 4418 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictionary_GetKeys 4419 }; 4420 4421 /* Not generating wrapper interface for PPB_View_1_0 */ 4422 4423 /* Not generating wrapper interface for PPB_View_1_1 */ 4424 4425 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { 4426 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Create, 4427 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_IsWebSocket, 4428 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const struct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Connect, 4429 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var reason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, 4430 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* message, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessage, 4431 .SendMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var message))&Pnacl_M18_PPB_WebSocket_SendMessage, 4432 .GetBufferedAmount = (uint64_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetBufferedAmount, 4433 .GetCloseCode = (uint16_t (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetCloseCode, 4434 .GetCloseReason = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetCloseReason, 4435 .GetCloseWasClean = (PP_Bool (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetCloseWasClean, 4436 .GetExtensions = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetExtensions, 4437 .GetProtocol = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetProtocol, 4438 .GetReadyState = (PP_WebSocketReadyState (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetReadyState, 4439 .GetURL = (struct PP_Var (*)(PP_Resource web_socket))&Pnacl_M18_PPB_WebSocket_GetURL 4440 }; 4441 4442 /* Not generating wrapper interface for PPP_Graphics3D_1_0 */ 4443 4444 /* Not generating wrapper interface for PPP_InputEvent_0_1 */ 4445 4446 /* Not generating wrapper interface for PPP_Instance_1_0 */ 4447 4448 /* Not generating wrapper interface for PPP_Instance_1_1 */ 4449 4450 struct PPP_Messaging_1_0 Pnacl_Wrappers_PPP_Messaging_1_0 = { 4451 .HandleMessage = &Pnacl_M14_PPP_Messaging_HandleMessage 4452 }; 4453 4454 /* Not generating wrapper interface for PPP_MouseLock_1_0 */ 4455 4456 /* Not generating wrapper interface for PPB_BrokerTrusted_0_2 */ 4457 4458 /* Not generating wrapper interface for PPB_BrokerTrusted_0_3 */ 4459 4460 /* Not generating wrapper interface for PPB_BrowserFont_Trusted_1_0 */ 4461 4462 /* Not generating wrapper interface for PPB_CharSet_Trusted_1_0 */ 4463 4464 /* Not generating wrapper interface for PPB_FileChooserTrusted_0_5 */ 4465 4466 /* Not generating wrapper interface for PPB_FileChooserTrusted_0_6 */ 4467 4468 /* Not generating wrapper interface for PPB_URLLoaderTrusted_0_3 */ 4469 4470 struct PPB_Alarms_Dev_0_1 Pnacl_Wrappers_PPB_Alarms_Dev_0_1 = { 4471 .Create = (void (*)(PP_Instance instance, struct PP_Var name, const struct PP_Alarms_AlarmCreateInfo_Dev* alarm_info))&Pnacl_M33_PPB_Alarms_Dev_Create, 4472 .Get = (int32_t (*)(PP_Instance instance, struct PP_Var name, struct PP_Alarms_Alarm_Dev* alarm, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_Alarms_Dev_Get, 4473 .GetAll = (int32_t (*)(PP_Instance instance, struct PP_Alarms_Alarm_Array_Dev* alarms, struct PP_ArrayOutput array_allocator, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_Alarms_Dev_GetAll, 4474 .Clear = (void (*)(PP_Instance instance, struct PP_Var name))&Pnacl_M33_PPB_Alarms_Dev_Clear, 4475 .ClearAll = (void (*)(PP_Instance instance))&Pnacl_M33_PPB_Alarms_Dev_ClearAll, 4476 .AddOnAlarmListener = (uint32_t (*)(PP_Instance instance, PP_Alarms_OnAlarm_Dev callback, void* user_data))&Pnacl_M33_PPB_Alarms_Dev_AddOnAlarmListener 4477 }; 4478 4479 struct PPB_AudioInput_Dev_0_2 Pnacl_Wrappers_PPB_AudioInput_Dev_0_2 = { 4480 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_AudioInput_Dev_Create, 4481 .IsAudioInput = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_AudioInput_Dev_IsAudioInput, 4482 .EnumerateDevices = (int32_t (*)(PP_Resource audio_input, PP_Resource* devices, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_AudioInput_Dev_EnumerateDevices, 4483 .Open = (int32_t (*)(PP_Resource audio_input, PP_Resource device_ref, PP_Resource config, PPB_AudioInput_Callback_0_2 audio_input_callback, void* user_data, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_AudioInput_Dev_Open, 4484 .GetCurrentConfig = (PP_Resource (*)(PP_Resource audio_input))&Pnacl_M19_PPB_AudioInput_Dev_GetCurrentConfig, 4485 .StartCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M19_PPB_AudioInput_Dev_StartCapture, 4486 .StopCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M19_PPB_AudioInput_Dev_StopCapture, 4487 .Close = (void (*)(PP_Resource audio_input))&Pnacl_M19_PPB_AudioInput_Dev_Close 4488 }; 4489 4490 struct PPB_AudioInput_Dev_0_3 Pnacl_Wrappers_PPB_AudioInput_Dev_0_3 = { 4491 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_AudioInput_Dev_Create, 4492 .IsAudioInput = (PP_Bool (*)(PP_Resource resource))&Pnacl_M25_PPB_AudioInput_Dev_IsAudioInput, 4493 .EnumerateDevices = (int32_t (*)(PP_Resource audio_input, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_AudioInput_Dev_EnumerateDevices, 4494 .MonitorDeviceChange = (int32_t (*)(PP_Resource audio_input, PP_MonitorDeviceChangeCallback callback, void* user_data))&Pnacl_M25_PPB_AudioInput_Dev_MonitorDeviceChange, 4495 .Open = (int32_t (*)(PP_Resource audio_input, PP_Resource device_ref, PP_Resource config, PPB_AudioInput_Callback_0_2 audio_input_callback, void* user_data, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_AudioInput_Dev_Open, 4496 .GetCurrentConfig = (PP_Resource (*)(PP_Resource audio_input))&Pnacl_M25_PPB_AudioInput_Dev_GetCurrentConfig, 4497 .StartCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M25_PPB_AudioInput_Dev_StartCapture, 4498 .StopCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M25_PPB_AudioInput_Dev_StopCapture, 4499 .Close = (void (*)(PP_Resource audio_input))&Pnacl_M25_PPB_AudioInput_Dev_Close 4500 }; 4501 4502 struct PPB_AudioInput_Dev_0_4 Pnacl_Wrappers_PPB_AudioInput_Dev_0_4 = { 4503 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M30_PPB_AudioInput_Dev_Create, 4504 .IsAudioInput = (PP_Bool (*)(PP_Resource resource))&Pnacl_M30_PPB_AudioInput_Dev_IsAudioInput, 4505 .EnumerateDevices = (int32_t (*)(PP_Resource audio_input, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M30_PPB_AudioInput_Dev_EnumerateDevices, 4506 .MonitorDeviceChange = (int32_t (*)(PP_Resource audio_input, PP_MonitorDeviceChangeCallback callback, void* user_data))&Pnacl_M30_PPB_AudioInput_Dev_MonitorDeviceChange, 4507 .Open = (int32_t (*)(PP_Resource audio_input, PP_Resource device_ref, PP_Resource config, PPB_AudioInput_Callback audio_input_callback, void* user_data, struct PP_CompletionCallback callback))&Pnacl_M30_PPB_AudioInput_Dev_Open, 4508 .GetCurrentConfig = (PP_Resource (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInput_Dev_GetCurrentConfig, 4509 .StartCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInput_Dev_StartCapture, 4510 .StopCapture = (PP_Bool (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInput_Dev_StopCapture, 4511 .Close = (void (*)(PP_Resource audio_input))&Pnacl_M30_PPB_AudioInput_Dev_Close 4512 }; 4513 4514 /* Not generating wrapper interface for PPB_Buffer_Dev_0_4 */ 4515 4516 /* Not generating wrapper interface for PPB_Crypto_Dev_0_1 */ 4517 4518 /* Not generating wrapper interface for PPB_CursorControl_Dev_0_4 */ 4519 4520 struct PPB_DeviceRef_Dev_0_1 Pnacl_Wrappers_PPB_DeviceRef_Dev_0_1 = { 4521 .IsDeviceRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_DeviceRef_Dev_IsDeviceRef, 4522 .GetType = (PP_DeviceType_Dev (*)(PP_Resource device_ref))&Pnacl_M18_PPB_DeviceRef_Dev_GetType, 4523 .GetName = (struct PP_Var (*)(PP_Resource device_ref))&Pnacl_M18_PPB_DeviceRef_Dev_GetName 4524 }; 4525 4526 struct PPB_FileChooser_Dev_0_5 Pnacl_Wrappers_PPB_FileChooser_Dev_0_5 = { 4527 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode, struct PP_Var accept_types))&Pnacl_M16_PPB_FileChooser_Dev_Create, 4528 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M16_PPB_FileChooser_Dev_IsFileChooser, 4529 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callback))&Pnacl_M16_PPB_FileChooser_Dev_Show, 4530 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_FileChooser_Dev_GetNextChosenFile 4531 }; 4532 4533 struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0_6 = { 4534 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, 4535 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChooser_Dev_IsFileChooser, 4536 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show 4537 }; 4538 4539 struct PPB_FileIO_Dev_0_1 Pnacl_Wrappers_PPB_FileIO_Dev_0_1 = { 4540 .Map = (int32_t (*)(PP_Resource file_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_FileIO_Dev_Map, 4541 .Unmap = (void (*)(PP_Resource file_io, void* address, int64_t length))&Pnacl_M31_PPB_FileIO_Dev_Unmap, 4542 .GetMapPageSize = (int64_t (*)(PP_Resource file_io))&Pnacl_M31_PPB_FileIO_Dev_GetMapPageSize 4543 }; 4544 4545 /* Not generating wrapper interface for PPB_Find_Dev_0_3 */ 4546 4547 struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = { 4548 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_Font_Dev_GetFontFamilies, 4549 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescription_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create, 4550 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont, 4551 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* description, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe, 4552 .DrawTextAt = (PP_Bool (*)(PP_Resource font, PP_Resource image_data, const struct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, const struct PP_Rect* clip, PP_Bool image_data_is_opaque))&Pnacl_M14_PPB_Font_Dev_DrawTextAt, 4553 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* text))&Pnacl_M14_PPB_Font_Dev_MeasureText, 4554 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffsetForPixel, 4555 .PixelOffsetForCharacter = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* text, uint32_t char_offset))&Pnacl_M14_PPB_Font_Dev_PixelOffsetForCharacter 4556 }; 4557 4558 /* Not generating wrapper interface for PPB_Graphics2D_Dev_0_1 */ 4559 4560 /* Not generating wrapper interface for PPB_Graphics2D_Dev_0_2 */ 4561 4562 struct PPB_IMEInputEvent_Dev_0_1 Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1 = { 4563 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M16_PPB_IMEInputEvent_Dev_IsIMEInputEvent, 4564 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetText, 4565 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentNumber, 4566 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSegmentOffset, 4567 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetTargetSegment, 4568 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t* end))&Pnacl_M16_PPB_IMEInputEvent_Dev_GetSelection 4569 }; 4570 4571 struct PPB_IMEInputEvent_Dev_0_2 Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2 = { 4572 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var text, uint32_t segment_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end))&Pnacl_M21_PPB_IMEInputEvent_Dev_Create, 4573 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M21_PPB_IMEInputEvent_Dev_IsIMEInputEvent, 4574 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetText, 4575 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentNumber, 4576 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetSegmentOffset, 4577 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetTargetSegment, 4578 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t* end))&Pnacl_M21_PPB_IMEInputEvent_Dev_GetSelection 4579 }; 4580 4581 struct PPB_KeyboardInputEvent_Dev_0_2 Pnacl_Wrappers_PPB_KeyboardInputEvent_Dev_0_2 = { 4582 .SetUsbKeyCode = (PP_Bool (*)(PP_Resource key_event, uint32_t usb_key_code))&Pnacl_M31_PPB_KeyboardInputEvent_Dev_SetUsbKeyCode, 4583 .GetUsbKeyCode = (uint32_t (*)(PP_Resource key_event))&Pnacl_M31_PPB_KeyboardInputEvent_Dev_GetUsbKeyCode, 4584 .GetCode = (struct PP_Var (*)(PP_Resource key_event))&Pnacl_M31_PPB_KeyboardInputEvent_Dev_GetCode 4585 }; 4586 4587 /* Not generating wrapper interface for PPB_Memory_Dev_0_1 */ 4588 4589 struct PPB_Printing_Dev_0_7 Pnacl_Wrappers_PPB_Printing_Dev_0_7 = { 4590 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M23_PPB_Printing_Dev_Create, 4591 .GetDefaultPrintSettings = (int32_t (*)(PP_Resource resource, struct PP_PrintSettings_Dev* print_settings, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings 4592 }; 4593 4594 /* Not generating wrapper interface for PPB_ResourceArray_Dev_0_1 */ 4595 4596 /* Not generating wrapper interface for PPB_Scrollbar_Dev_0_5 */ 4597 4598 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ 4599 4600 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ 4601 4602 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ 4603 4604 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */ 4605 4606 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { 4607 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies, 4608 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontsInFamily, 4609 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFontDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, 4610 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueTypeFont_Dev_IsTrueTypeFont, 4611 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* desc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Describe, 4612 .GetTableTags = (int32_t (*)(PP_Resource font, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTableTags, 4613 .GetTable = (int32_t (*)(PP_Resource font, uint32_t table, int32_t offset, int32_t max_data_length, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_GetTable 4614 }; 4615 4616 struct PPB_URLUtil_Dev_0_6 Pnacl_Wrappers_PPB_URLUtil_Dev_0_6 = { 4617 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_Canonicalize, 4618 .ResolveRelativeToURL = (struct PP_Var (*)(struct PP_Var base_url, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToURL, 4619 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_ResolveRelativeToDocument, 4620 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_b))&Pnacl_M17_PPB_URLUtil_Dev_IsSameSecurityOrigin, 4621 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanRequest, 4622 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance target))&Pnacl_M17_PPB_URLUtil_Dev_DocumentCanAccessDocument, 4623 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetDocumentURL, 4624 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M17_PPB_URLUtil_Dev_GetPluginInstanceURL 4625 }; 4626 4627 struct PPB_URLUtil_Dev_0_7 Pnacl_Wrappers_PPB_URLUtil_Dev_0_7 = { 4628 .Canonicalize = (struct PP_Var (*)(struct PP_Var url, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_Canonicalize, 4629 .ResolveRelativeToURL = (struct PP_Var (*)(struct PP_Var base_url, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToURL, 4630 .ResolveRelativeToDocument = (struct PP_Var (*)(PP_Instance instance, struct PP_Var relative_string, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_ResolveRelativeToDocument, 4631 .IsSameSecurityOrigin = (PP_Bool (*)(struct PP_Var url_a, struct PP_Var url_b))&Pnacl_M31_PPB_URLUtil_Dev_IsSameSecurityOrigin, 4632 .DocumentCanRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var url))&Pnacl_M31_PPB_URLUtil_Dev_DocumentCanRequest, 4633 .DocumentCanAccessDocument = (PP_Bool (*)(PP_Instance active, PP_Instance target))&Pnacl_M31_PPB_URLUtil_Dev_DocumentCanAccessDocument, 4634 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_GetDocumentURL, 4635 .GetPluginInstanceURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_GetPluginInstanceURL, 4636 .GetPluginReferrerURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M31_PPB_URLUtil_Dev_GetPluginReferrerURL 4637 }; 4638 4639 struct PPB_VarResource_Dev_0_1 Pnacl_Wrappers_PPB_VarResource_Dev_0_1 = { 4640 .VarToResource = (PP_Resource (*)(struct PP_Var var))&Pnacl_M32_PPB_VarResource_Dev_VarToResource, 4641 .VarFromResource = (struct PP_Var (*)(PP_Resource resource))&Pnacl_M32_PPB_VarResource_Dev_VarFromResource 4642 }; 4643 4644 struct PPB_VideoCapture_Dev_0_2 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2 = { 4645 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_VideoCapture_Dev_Create, 4646 .IsVideoCapture = (PP_Bool (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_Dev_IsVideoCapture, 4647 .EnumerateDevices = (int32_t (*)(PP_Resource video_capture, PP_Resource* devices, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_EnumerateDevices, 4648 .Open = (int32_t (*)(PP_Resource video_capture, PP_Resource device_ref, const struct PP_VideoCaptureDeviceInfo_Dev* requested_info, uint32_t buffer_count, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_VideoCapture_Dev_Open, 4649 .StartCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_Dev_StartCapture, 4650 .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pnacl_M19_PPB_VideoCapture_Dev_ReuseBuffer, 4651 .StopCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_Dev_StopCapture, 4652 .Close = (void (*)(PP_Resource video_capture))&Pnacl_M19_PPB_VideoCapture_Dev_Close 4653 }; 4654 4655 struct PPB_VideoCapture_Dev_0_3 Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3 = { 4656 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_VideoCapture_Dev_Create, 4657 .IsVideoCapture = (PP_Bool (*)(PP_Resource video_capture))&Pnacl_M25_PPB_VideoCapture_Dev_IsVideoCapture, 4658 .EnumerateDevices = (int32_t (*)(PP_Resource video_capture, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_VideoCapture_Dev_EnumerateDevices, 4659 .MonitorDeviceChange = (int32_t (*)(PP_Resource video_capture, PP_MonitorDeviceChangeCallback callback, void* user_data))&Pnacl_M25_PPB_VideoCapture_Dev_MonitorDeviceChange, 4660 .Open = (int32_t (*)(PP_Resource video_capture, PP_Resource device_ref, const struct PP_VideoCaptureDeviceInfo_Dev* requested_info, uint32_t buffer_count, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_VideoCapture_Dev_Open, 4661 .StartCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M25_PPB_VideoCapture_Dev_StartCapture, 4662 .ReuseBuffer = (int32_t (*)(PP_Resource video_capture, uint32_t buffer))&Pnacl_M25_PPB_VideoCapture_Dev_ReuseBuffer, 4663 .StopCapture = (int32_t (*)(PP_Resource video_capture))&Pnacl_M25_PPB_VideoCapture_Dev_StopCapture, 4664 .Close = (void (*)(PP_Resource video_capture))&Pnacl_M25_PPB_VideoCapture_Dev_Close 4665 }; 4666 4667 struct PPB_VideoDecoder_Dev_0_16 Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16 = { 4668 .Create = (PP_Resource (*)(PP_Instance instance, PP_Resource context, PP_VideoDecoder_Profile profile))&Pnacl_M14_PPB_VideoDecoder_Dev_Create, 4669 .IsVideoDecoder = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_VideoDecoder_Dev_IsVideoDecoder, 4670 .Decode = (int32_t (*)(PP_Resource video_decoder, const struct PP_VideoBitstreamBuffer_Dev* bitstream_buffer, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_VideoDecoder_Dev_Decode, 4671 .AssignPictureBuffers = (void (*)(PP_Resource video_decoder, uint32_t no_of_buffers, const struct PP_PictureBuffer_Dev buffers[]))&Pnacl_M14_PPB_VideoDecoder_Dev_AssignPictureBuffers, 4672 .ReusePictureBuffer = (void (*)(PP_Resource video_decoder, int32_t picture_buffer_id))&Pnacl_M14_PPB_VideoDecoder_Dev_ReusePictureBuffer, 4673 .Flush = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_VideoDecoder_Dev_Flush, 4674 .Reset = (int32_t (*)(PP_Resource video_decoder, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_VideoDecoder_Dev_Reset, 4675 .Destroy = (void (*)(PP_Resource video_decoder))&Pnacl_M14_PPB_VideoDecoder_Dev_Destroy 4676 }; 4677 4678 /* Not generating wrapper interface for PPB_View_Dev_0_1 */ 4679 4680 /* Not generating wrapper interface for PPB_Widget_Dev_0_3 */ 4681 4682 /* Not generating wrapper interface for PPB_Widget_Dev_0_4 */ 4683 4684 /* Not generating wrapper interface for PPB_Zoom_Dev_0_2 */ 4685 4686 /* Not generating wrapper interface for PPP_NetworkState_Dev_0_1 */ 4687 4688 /* Not generating wrapper interface for PPP_Printing_Dev_0_6 */ 4689 4690 /* Not generating wrapper interface for PPP_Scrollbar_Dev_0_2 */ 4691 4692 /* Not generating wrapper interface for PPP_Scrollbar_Dev_0_3 */ 4693 4694 struct PPP_Selection_Dev_0_3 Pnacl_Wrappers_PPP_Selection_Dev_0_3 = { 4695 .GetSelectedText = &Pnacl_M13_PPP_Selection_Dev_GetSelectedText 4696 }; 4697 4698 /* Not generating wrapper interface for PPP_TextInput_Dev_0_1 */ 4699 4700 /* Not generating wrapper interface for PPP_VideoCapture_Dev_0_1 */ 4701 4702 /* Not generating wrapper interface for PPP_VideoDecoder_Dev_0_11 */ 4703 4704 /* Not generating wrapper interface for PPP_Widget_Dev_0_2 */ 4705 4706 /* Not generating wrapper interface for PPP_Zoom_Dev_0_3 */ 4707 4708 struct PPB_ContentDecryptor_Private_0_9 Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_9 = { 4709 .SessionCreated = (void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var web_session_id))&Pnacl_M33_PPB_ContentDecryptor_Private_SessionCreated, 4710 .SessionMessage = (void (*)(PP_Instance instance, uint32_t session_id, struct PP_Var message, struct PP_Var destination_url))&Pnacl_M33_PPB_ContentDecryptor_Private_SessionMessage, 4711 .SessionReady = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl_M33_PPB_ContentDecryptor_Private_SessionReady, 4712 .SessionClosed = (void (*)(PP_Instance instance, uint32_t session_id))&Pnacl_M33_PPB_ContentDecryptor_Private_SessionClosed, 4713 .SessionError = (void (*)(PP_Instance instance, uint32_t session_id, int32_t media_error, int32_t system_code))&Pnacl_M33_PPB_ContentDecryptor_Private_SessionError, 4714 .DeliverBlock = (void (*)(PP_Instance instance, PP_Resource decrypted_block, const struct PP_DecryptedBlockInfo* decrypted_block_info))&Pnacl_M33_PPB_ContentDecryptor_Private_DeliverBlock, 4715 .DecoderInitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id, PP_Bool success))&Pnacl_M33_PPB_ContentDecryptor_Private_DecoderInitializeDone, 4716 .DecoderDeinitializeDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id))&Pnacl_M33_PPB_ContentDecryptor_Private_DecoderDeinitializeDone, 4717 .DecoderResetDone = (void (*)(PP_Instance instance, PP_DecryptorStreamType decoder_type, uint32_t request_id))&Pnacl_M33_PPB_ContentDecryptor_Private_DecoderResetDone, 4718 .DeliverFrame = (void (*)(PP_Instance instance, PP_Resource decrypted_frame, const struct PP_DecryptedFrameInfo* decrypted_frame_info))&Pnacl_M33_PPB_ContentDecryptor_Private_DeliverFrame, 4719 .DeliverSamples = (void (*)(PP_Instance instance, PP_Resource audio_frames, const struct PP_DecryptedSampleInfo* decrypted_sample_info))&Pnacl_M33_PPB_ContentDecryptor_Private_DeliverSamples 4720 }; 4721 4722 struct PPB_Ext_CrxFileSystem_Private_0_1 Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1 = { 4723 .Open = (int32_t (*)(PP_Instance instance, PP_Resource* file_system, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_CrxFileSystem_Private_Open 4724 }; 4725 4726 struct PPB_FileIO_Private_0_1 Pnacl_Wrappers_PPB_FileIO_Private_0_1 = { 4727 .RequestOSFileHandle = (int32_t (*)(PP_Resource file_io, PP_FileHandle* handle, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileIO_Private_RequestOSFileHandle 4728 }; 4729 4730 struct PPB_FileRefPrivate_0_1 Pnacl_Wrappers_PPB_FileRefPrivate_0_1 = { 4731 .GetAbsolutePath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M15_PPB_FileRefPrivate_GetAbsolutePath 4732 }; 4733 4734 struct PPB_Flash_12_4 Pnacl_Wrappers_PPB_Flash_12_4 = { 4735 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&Pnacl_M21_PPB_Flash_SetInstanceAlwaysOnTop, 4736 .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M21_PPB_Flash_DrawGlyphs, 4737 .GetProxyForURL = (struct PP_Var (*)(PP_Instance instance, const char* url))&Pnacl_M21_PPB_Flash_GetProxyForURL, 4738 .Navigate = (int32_t (*)(PP_Resource request_info, const char* target, PP_Bool from_user_action))&Pnacl_M21_PPB_Flash_Navigate, 4739 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_RunMessageLoop, 4740 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_QuitMessageLoop, 4741 .GetLocalTimeZoneOffset = (double (*)(PP_Instance instance, PP_Time t))&Pnacl_M21_PPB_Flash_GetLocalTimeZoneOffset, 4742 .GetCommandLineArgs = (struct PP_Var (*)(PP_Module module))&Pnacl_M21_PPB_Flash_GetCommandLineArgs, 4743 .PreloadFontWin = (void (*)(const void* logfontw))&Pnacl_M21_PPB_Flash_PreloadFontWin, 4744 .IsRectTopmost = (PP_Bool (*)(PP_Instance instance, const struct PP_Rect* rect))&Pnacl_M21_PPB_Flash_IsRectTopmost, 4745 .InvokePrinting = (int32_t (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_InvokePrinting, 4746 .UpdateActivity = (void (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_UpdateActivity, 4747 .GetDeviceID = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_GetDeviceID, 4748 .GetSettingInt = (int32_t (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M21_PPB_Flash_GetSettingInt, 4749 .GetSetting = (struct PP_Var (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M21_PPB_Flash_GetSetting 4750 }; 4751 4752 struct PPB_Flash_12_5 Pnacl_Wrappers_PPB_Flash_12_5 = { 4753 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&Pnacl_M22_PPB_Flash_SetInstanceAlwaysOnTop, 4754 .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M22_PPB_Flash_DrawGlyphs, 4755 .GetProxyForURL = (struct PP_Var (*)(PP_Instance instance, const char* url))&Pnacl_M22_PPB_Flash_GetProxyForURL, 4756 .Navigate = (int32_t (*)(PP_Resource request_info, const char* target, PP_Bool from_user_action))&Pnacl_M22_PPB_Flash_Navigate, 4757 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_RunMessageLoop, 4758 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_QuitMessageLoop, 4759 .GetLocalTimeZoneOffset = (double (*)(PP_Instance instance, PP_Time t))&Pnacl_M22_PPB_Flash_GetLocalTimeZoneOffset, 4760 .GetCommandLineArgs = (struct PP_Var (*)(PP_Module module))&Pnacl_M22_PPB_Flash_GetCommandLineArgs, 4761 .PreloadFontWin = (void (*)(const void* logfontw))&Pnacl_M22_PPB_Flash_PreloadFontWin, 4762 .IsRectTopmost = (PP_Bool (*)(PP_Instance instance, const struct PP_Rect* rect))&Pnacl_M22_PPB_Flash_IsRectTopmost, 4763 .InvokePrinting = (int32_t (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_InvokePrinting, 4764 .UpdateActivity = (void (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_UpdateActivity, 4765 .GetDeviceID = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M22_PPB_Flash_GetDeviceID, 4766 .GetSettingInt = (int32_t (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M22_PPB_Flash_GetSettingInt, 4767 .GetSetting = (struct PP_Var (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M22_PPB_Flash_GetSetting, 4768 .SetCrashData = (PP_Bool (*)(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var value))&Pnacl_M22_PPB_Flash_SetCrashData 4769 }; 4770 4771 struct PPB_Flash_12_6 Pnacl_Wrappers_PPB_Flash_12_6 = { 4772 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&Pnacl_M24_0_PPB_Flash_SetInstanceAlwaysOnTop, 4773 .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M24_0_PPB_Flash_DrawGlyphs, 4774 .GetProxyForURL = (struct PP_Var (*)(PP_Instance instance, const char* url))&Pnacl_M24_0_PPB_Flash_GetProxyForURL, 4775 .Navigate = (int32_t (*)(PP_Resource request_info, const char* target, PP_Bool from_user_action))&Pnacl_M24_0_PPB_Flash_Navigate, 4776 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M24_0_PPB_Flash_RunMessageLoop, 4777 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M24_0_PPB_Flash_QuitMessageLoop, 4778 .GetLocalTimeZoneOffset = (double (*)(PP_Instance instance, PP_Time t))&Pnacl_M24_0_PPB_Flash_GetLocalTimeZoneOffset, 4779 .GetCommandLineArgs = (struct PP_Var (*)(PP_Module module))&Pnacl_M24_0_PPB_Flash_GetCommandLineArgs, 4780 .PreloadFontWin = (void (*)(const void* logfontw))&Pnacl_M24_0_PPB_Flash_PreloadFontWin, 4781 .IsRectTopmost = (PP_Bool (*)(PP_Instance instance, const struct PP_Rect* rect))&Pnacl_M24_0_PPB_Flash_IsRectTopmost, 4782 .InvokePrinting = (int32_t (*)(PP_Instance instance))&Pnacl_M24_0_PPB_Flash_InvokePrinting, 4783 .UpdateActivity = (void (*)(PP_Instance instance))&Pnacl_M24_0_PPB_Flash_UpdateActivity, 4784 .GetDeviceID = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M24_0_PPB_Flash_GetDeviceID, 4785 .GetSettingInt = (int32_t (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M24_0_PPB_Flash_GetSettingInt, 4786 .GetSetting = (struct PP_Var (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M24_0_PPB_Flash_GetSetting, 4787 .SetCrashData = (PP_Bool (*)(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var value))&Pnacl_M24_0_PPB_Flash_SetCrashData, 4788 .EnumerateVideoCaptureDevices = (int32_t (*)(PP_Instance instance, PP_Resource video_capture, struct PP_ArrayOutput devices))&Pnacl_M24_0_PPB_Flash_EnumerateVideoCaptureDevices 4789 }; 4790 4791 struct PPB_Flash_13_0 Pnacl_Wrappers_PPB_Flash_13_0 = { 4792 .SetInstanceAlwaysOnTop = (void (*)(PP_Instance instance, PP_Bool on_top))&Pnacl_M24_1_PPB_Flash_SetInstanceAlwaysOnTop, 4793 .DrawGlyphs = (PP_Bool (*)(PP_Instance instance, PP_Resource pp_image_data, const struct PP_BrowserFont_Trusted_Description* font_desc, uint32_t color, const struct PP_Point* position, const struct PP_Rect* clip, const float transformation[3][3], PP_Bool allow_subpixel_aa, uint32_t glyph_count, const uint16_t glyph_indices[], const struct PP_Point glyph_advances[]))&Pnacl_M24_1_PPB_Flash_DrawGlyphs, 4794 .GetProxyForURL = (struct PP_Var (*)(PP_Instance instance, const char* url))&Pnacl_M24_1_PPB_Flash_GetProxyForURL, 4795 .Navigate = (int32_t (*)(PP_Resource request_info, const char* target, PP_Bool from_user_action))&Pnacl_M24_1_PPB_Flash_Navigate, 4796 .GetLocalTimeZoneOffset = (double (*)(PP_Instance instance, PP_Time t))&Pnacl_M24_1_PPB_Flash_GetLocalTimeZoneOffset, 4797 .GetCommandLineArgs = (struct PP_Var (*)(PP_Module module))&Pnacl_M24_1_PPB_Flash_GetCommandLineArgs, 4798 .PreloadFontWin = (void (*)(const void* logfontw))&Pnacl_M24_1_PPB_Flash_PreloadFontWin, 4799 .IsRectTopmost = (PP_Bool (*)(PP_Instance instance, const struct PP_Rect* rect))&Pnacl_M24_1_PPB_Flash_IsRectTopmost, 4800 .UpdateActivity = (void (*)(PP_Instance instance))&Pnacl_M24_1_PPB_Flash_UpdateActivity, 4801 .GetSetting = (struct PP_Var (*)(PP_Instance instance, PP_FlashSetting setting))&Pnacl_M24_1_PPB_Flash_GetSetting, 4802 .SetCrashData = (PP_Bool (*)(PP_Instance instance, PP_FlashCrashKey key, struct PP_Var value))&Pnacl_M24_1_PPB_Flash_SetCrashData, 4803 .EnumerateVideoCaptureDevices = (int32_t (*)(PP_Instance instance, PP_Resource video_capture, struct PP_ArrayOutput devices))&Pnacl_M24_1_PPB_Flash_EnumerateVideoCaptureDevices 4804 }; 4805 4806 struct PPB_Flash_Clipboard_4_0 Pnacl_Wrappers_PPB_Flash_Clipboard_4_0 = { 4807 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Clipboard_IsFormatAvailable, 4808 .ReadData = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, PP_Flash_Clipboard_Format format))&Pnacl_M19_PPB_Flash_Clipboard_ReadData, 4809 .WriteData = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t data_item_count, const PP_Flash_Clipboard_Format formats[], const struct PP_Var data_items[]))&Pnacl_M19_PPB_Flash_Clipboard_WriteData 4810 }; 4811 4812 struct PPB_Flash_Clipboard_5_0 Pnacl_Wrappers_PPB_Flash_Clipboard_5_0 = { 4813 .RegisterCustomFormat = (uint32_t (*)(PP_Instance instance_id, const char* format_name))&Pnacl_M24_PPB_Flash_Clipboard_RegisterCustomFormat, 4814 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format))&Pnacl_M24_PPB_Flash_Clipboard_IsFormatAvailable, 4815 .ReadData = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t format))&Pnacl_M24_PPB_Flash_Clipboard_ReadData, 4816 .WriteData = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type clipboard_type, uint32_t data_item_count, const uint32_t formats[], const struct PP_Var data_items[]))&Pnacl_M24_PPB_Flash_Clipboard_WriteData 4817 }; 4818 4819 struct PPB_Flash_DeviceID_1_0 Pnacl_Wrappers_PPB_Flash_DeviceID_1_0 = { 4820 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_DeviceID_Create, 4821 .GetDeviceID = (int32_t (*)(PP_Resource device_id, struct PP_Var* id, struct PP_CompletionCallback callback))&Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID 4822 }; 4823 4824 struct PPB_Flash_DRM_1_0 Pnacl_Wrappers_PPB_Flash_DRM_1_0 = { 4825 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_Flash_DRM_Create, 4826 .GetDeviceID = (int32_t (*)(PP_Resource drm, struct PP_Var* id, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Flash_DRM_GetDeviceID, 4827 .GetHmonitor = (PP_Bool (*)(PP_Resource drm, int64_t* hmonitor))&Pnacl_M29_PPB_Flash_DRM_GetHmonitor, 4828 .GetVoucherFile = (int32_t (*)(PP_Resource drm, PP_Resource* file_ref, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Flash_DRM_GetVoucherFile 4829 }; 4830 4831 struct PPB_Flash_DRM_1_1 Pnacl_Wrappers_PPB_Flash_DRM_1_1 = { 4832 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M33_PPB_Flash_DRM_Create, 4833 .GetDeviceID = (int32_t (*)(PP_Resource drm, struct PP_Var* id, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_GetDeviceID, 4834 .GetHmonitor = (PP_Bool (*)(PP_Resource drm, int64_t* hmonitor))&Pnacl_M33_PPB_Flash_DRM_GetHmonitor, 4835 .GetVoucherFile = (int32_t (*)(PP_Resource drm, PP_Resource* file_ref, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_GetVoucherFile, 4836 .MonitorIsExternal = (int32_t (*)(PP_Resource drm, PP_Bool* is_external, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_Flash_DRM_MonitorIsExternal 4837 }; 4838 4839 /* Not generating wrapper interface for PPB_Flash_FontFile_0_1 */ 4840 4841 /* Not generating wrapper interface for PPB_FlashFullscreen_0_1 */ 4842 4843 /* Not generating wrapper interface for PPB_FlashFullscreen_1_0 */ 4844 4845 struct PPB_Flash_Menu_0_2 Pnacl_Wrappers_PPB_Flash_Menu_0_2 = { 4846 .Create = (PP_Resource (*)(PP_Instance instance_id, const struct PP_Flash_Menu* menu_data))&Pnacl_M14_PPB_Flash_Menu_Create, 4847 .IsFlashMenu = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M14_PPB_Flash_Menu_IsFlashMenu, 4848 .Show = (int32_t (*)(PP_Resource menu_id, const struct PP_Point* location, int32_t* selected_id, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_Flash_Menu_Show 4849 }; 4850 4851 /* Not generating wrapper interface for PPB_Flash_MessageLoop_0_1 */ 4852 4853 /* Not generating wrapper interface for PPB_Flash_Print_1_0 */ 4854 4855 struct PPB_HostResolver_Private_0_1 Pnacl_Wrappers_PPB_HostResolver_Private_0_1 = { 4856 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_HostResolver_Private_Create, 4857 .IsHostResolver = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_HostResolver_Private_IsHostResolver, 4858 .Resolve = (int32_t (*)(PP_Resource host_resolver, const char* host, uint16_t port, const struct PP_HostResolver_Private_Hint* hint, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_HostResolver_Private_Resolve, 4859 .GetCanonicalName = (struct PP_Var (*)(PP_Resource host_resolver))&Pnacl_M19_PPB_HostResolver_Private_GetCanonicalName, 4860 .GetSize = (uint32_t (*)(PP_Resource host_resolver))&Pnacl_M19_PPB_HostResolver_Private_GetSize, 4861 .GetNetAddress = (PP_Bool (*)(PP_Resource host_resolver, uint32_t index, struct PP_NetAddress_Private* addr))&Pnacl_M19_PPB_HostResolver_Private_GetNetAddress 4862 }; 4863 4864 struct PPB_Instance_Private_0_1 Pnacl_Wrappers_PPB_Instance_Private_0_1 = { 4865 .GetWindowObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13_PPB_Instance_Private_GetWindowObject, 4866 .GetOwnerElementObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13_PPB_Instance_Private_GetOwnerElementObject, 4867 .ExecuteScript = (struct PP_Var (*)(PP_Instance instance, struct PP_Var script, struct PP_Var* exception))&Pnacl_M13_PPB_Instance_Private_ExecuteScript 4868 }; 4869 4870 struct PPB_IsolatedFileSystem_Private_0_2 Pnacl_Wrappers_PPB_IsolatedFileSystem_Private_0_2 = { 4871 .Open = (int32_t (*)(PP_Instance instance, PP_IsolatedFileSystemType_Private type, PP_Resource* file_system, struct PP_CompletionCallback callback))&Pnacl_M33_PPB_IsolatedFileSystem_Private_Open 4872 }; 4873 4874 struct PPB_NaCl_Private_1_0 Pnacl_Wrappers_PPB_NaCl_Private_1_0 = { 4875 .LaunchSelLdr = (PP_ExternalPluginResult (*)(PP_Instance instance, const char* alleged_url, PP_Bool uses_irt, PP_Bool uses_ppapi, PP_Bool enable_ppapi_dev, PP_Bool enable_dyncode_syscalls, PP_Bool enable_exception_handling, PP_Bool enable_crash_throttling, void* imc_handle, struct PP_Var* error_message))&Pnacl_M25_PPB_NaCl_Private_LaunchSelLdr, 4876 .StartPpapiProxy = (PP_ExternalPluginResult (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_StartPpapiProxy, 4877 .UrandomFD = (int32_t (*)(void))&Pnacl_M25_PPB_NaCl_Private_UrandomFD, 4878 .Are3DInterfacesDisabled = (PP_Bool (*)(void))&Pnacl_M25_PPB_NaCl_Private_Are3DInterfacesDisabled, 4879 .BrokerDuplicateHandle = (int32_t (*)(PP_FileHandle source_handle, uint32_t process_id, PP_FileHandle* target_handle, uint32_t desired_access, uint32_t options))&Pnacl_M25_PPB_NaCl_Private_BrokerDuplicateHandle, 4880 .GetReadonlyPnaclFd = (PP_FileHandle (*)(const char* filename))&Pnacl_M25_PPB_NaCl_Private_GetReadonlyPnaclFd, 4881 .CreateTemporaryFile = (PP_FileHandle (*)(PP_Instance instance))&Pnacl_M25_PPB_NaCl_Private_CreateTemporaryFile, 4882 .GetNexeFd = (int32_t (*)(PP_Instance instance, const char* pexe_url, uint32_t abi_version, uint32_t opt_level, const char* last_modified, const char* etag, PP_Bool has_no_store_header, PP_Bool* is_hit, PP_FileHandle* nexe_handle, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_NaCl_Private_GetNexeFd, 4883 .ReportTranslationFinished = (void (*)(PP_Instance instance, PP_Bool success))&Pnacl_M25_PPB_NaCl_Private_ReportTranslationFinished, 4884 .ReportNaClError = (PP_ExternalPluginResult (*)(PP_Instance instance, PP_NaClError message_id))&Pnacl_M25_PPB_NaCl_Private_ReportNaClError, 4885 .OpenNaClExecutable = (PP_FileHandle (*)(PP_Instance instance, const char* file_url, uint64_t* file_token_lo, uint64_t* file_token_hi))&Pnacl_M25_PPB_NaCl_Private_OpenNaClExecutable, 4886 .DispatchEvent = (void (*)(PP_Instance instance, PP_NaClEventType event_type, struct PP_Var resource_url, PP_Bool length_is_computable, uint64_t loaded_bytes, uint64_t total_bytes))&Pnacl_M25_PPB_NaCl_Private_DispatchEvent, 4887 .SetReadOnlyProperty = (void (*)(PP_Instance instance, struct PP_Var key, struct PP_Var value))&Pnacl_M25_PPB_NaCl_Private_SetReadOnlyProperty 4888 }; 4889 4890 struct PPB_NetAddress_Private_0_1 Pnacl_Wrappers_PPB_NetAddress_Private_0_1 = { 4891 .AreEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M17_PPB_NetAddress_Private_AreEqual, 4892 .AreHostsEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M17_PPB_NetAddress_Private_AreHostsEqual, 4893 .Describe = (struct PP_Var (*)(PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port))&Pnacl_M17_PPB_NetAddress_Private_Describe, 4894 .ReplacePort = (PP_Bool (*)(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M17_PPB_NetAddress_Private_ReplacePort, 4895 .GetAnyAddress = (void (*)(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr))&Pnacl_M17_PPB_NetAddress_Private_GetAnyAddress 4896 }; 4897 4898 struct PPB_NetAddress_Private_1_0 Pnacl_Wrappers_PPB_NetAddress_Private_1_0 = { 4899 .AreEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M19_0_PPB_NetAddress_Private_AreEqual, 4900 .AreHostsEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M19_0_PPB_NetAddress_Private_AreHostsEqual, 4901 .Describe = (struct PP_Var (*)(PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port))&Pnacl_M19_0_PPB_NetAddress_Private_Describe, 4902 .ReplacePort = (PP_Bool (*)(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_0_PPB_NetAddress_Private_ReplacePort, 4903 .GetAnyAddress = (void (*)(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr))&Pnacl_M19_0_PPB_NetAddress_Private_GetAnyAddress, 4904 .GetFamily = (PP_NetAddressFamily_Private (*)(const struct PP_NetAddress_Private* addr))&Pnacl_M19_0_PPB_NetAddress_Private_GetFamily, 4905 .GetPort = (uint16_t (*)(const struct PP_NetAddress_Private* addr))&Pnacl_M19_0_PPB_NetAddress_Private_GetPort, 4906 .GetAddress = (PP_Bool (*)(const struct PP_NetAddress_Private* addr, void* address, uint16_t address_size))&Pnacl_M19_0_PPB_NetAddress_Private_GetAddress 4907 }; 4908 4909 struct PPB_NetAddress_Private_1_1 Pnacl_Wrappers_PPB_NetAddress_Private_1_1 = { 4910 .AreEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M19_1_PPB_NetAddress_Private_AreEqual, 4911 .AreHostsEqual = (PP_Bool (*)(const struct PP_NetAddress_Private* addr1, const struct PP_NetAddress_Private* addr2))&Pnacl_M19_1_PPB_NetAddress_Private_AreHostsEqual, 4912 .Describe = (struct PP_Var (*)(PP_Module module, const struct PP_NetAddress_Private* addr, PP_Bool include_port))&Pnacl_M19_1_PPB_NetAddress_Private_Describe, 4913 .ReplacePort = (PP_Bool (*)(const struct PP_NetAddress_Private* src_addr, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_1_PPB_NetAddress_Private_ReplacePort, 4914 .GetAnyAddress = (void (*)(PP_Bool is_ipv6, struct PP_NetAddress_Private* addr))&Pnacl_M19_1_PPB_NetAddress_Private_GetAnyAddress, 4915 .GetFamily = (PP_NetAddressFamily_Private (*)(const struct PP_NetAddress_Private* addr))&Pnacl_M19_1_PPB_NetAddress_Private_GetFamily, 4916 .GetPort = (uint16_t (*)(const struct PP_NetAddress_Private* addr))&Pnacl_M19_1_PPB_NetAddress_Private_GetPort, 4917 .GetAddress = (PP_Bool (*)(const struct PP_NetAddress_Private* addr, void* address, uint16_t address_size))&Pnacl_M19_1_PPB_NetAddress_Private_GetAddress, 4918 .GetScopeID = (uint32_t (*)(const struct PP_NetAddress_Private* addr))&Pnacl_M19_1_PPB_NetAddress_Private_GetScopeID, 4919 .CreateFromIPv4Address = (void (*)(const uint8_t ip[4], uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv4Address, 4920 .CreateFromIPv6Address = (void (*)(const uint8_t ip[16], uint32_t scope_id, uint16_t port, struct PP_NetAddress_Private* addr_out))&Pnacl_M19_1_PPB_NetAddress_Private_CreateFromIPv6Address 4921 }; 4922 4923 struct PPB_OutputProtection_Private_0_1 Pnacl_Wrappers_PPB_OutputProtection_Private_0_1 = { 4924 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M31_PPB_OutputProtection_Private_Create, 4925 .IsOutputProtection = (PP_Bool (*)(PP_Resource resource))&Pnacl_M31_PPB_OutputProtection_Private_IsOutputProtection, 4926 .QueryStatus = (int32_t (*)(PP_Resource resource, uint32_t* link_mask, uint32_t* protection_mask, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_OutputProtection_Private_QueryStatus, 4927 .EnableProtection = (int32_t (*)(PP_Resource resource, uint32_t desired_protection_mask, struct PP_CompletionCallback callback))&Pnacl_M31_PPB_OutputProtection_Private_EnableProtection 4928 }; 4929 4930 struct PPB_PlatformVerification_Private_0_2 Pnacl_Wrappers_PPB_PlatformVerification_Private_0_2 = { 4931 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M32_PPB_PlatformVerification_Private_Create, 4932 .IsPlatformVerification = (PP_Bool (*)(PP_Resource resource))&Pnacl_M32_PPB_PlatformVerification_Private_IsPlatformVerification, 4933 .ChallengePlatform = (int32_t (*)(PP_Resource instance, struct PP_Var service_id, struct PP_Var challenge, struct PP_Var* signed_data, struct PP_Var* signed_data_signature, struct PP_Var* platform_key_certificate, struct PP_CompletionCallback callback))&Pnacl_M32_PPB_PlatformVerification_Private_ChallengePlatform 4934 }; 4935 4936 struct PPB_Talk_Private_1_0 Pnacl_Wrappers_PPB_Talk_Private_1_0 = { 4937 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_Talk_Private_Create, 4938 .GetPermission = (int32_t (*)(PP_Resource talk_resource, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_Talk_Private_GetPermission 4939 }; 4940 4941 struct PPB_Talk_Private_2_0 Pnacl_Wrappers_PPB_Talk_Private_2_0 = { 4942 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_Talk_Private_Create, 4943 .RequestPermission = (int32_t (*)(PP_Resource talk_resource, PP_TalkPermission permission, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Talk_Private_RequestPermission, 4944 .StartRemoting = (int32_t (*)(PP_Resource talk_resource, PP_TalkEventCallback event_callback, void* user_data, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Talk_Private_StartRemoting, 4945 .StopRemoting = (int32_t (*)(PP_Resource talk_resource, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Talk_Private_StopRemoting 4946 }; 4947 4948 struct PPB_TCPServerSocket_Private_0_1 Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_1 = { 4949 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_TCPServerSocket_Private_Create, 4950 .IsTCPServerSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_TCPServerSocket_Private_IsTCPServerSocket, 4951 .Listen = (int32_t (*)(PP_Resource tcp_server_socket, const struct PP_NetAddress_Private* addr, int32_t backlog, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_TCPServerSocket_Private_Listen, 4952 .Accept = (int32_t (*)(PP_Resource tcp_server_socket, PP_Resource* tcp_socket, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_TCPServerSocket_Private_Accept, 4953 .StopListening = (void (*)(PP_Resource tcp_server_socket))&Pnacl_M18_PPB_TCPServerSocket_Private_StopListening 4954 }; 4955 4956 struct PPB_TCPServerSocket_Private_0_2 Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_2 = { 4957 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_TCPServerSocket_Private_Create, 4958 .IsTCPServerSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_TCPServerSocket_Private_IsTCPServerSocket, 4959 .Listen = (int32_t (*)(PP_Resource tcp_server_socket, const struct PP_NetAddress_Private* addr, int32_t backlog, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_TCPServerSocket_Private_Listen, 4960 .Accept = (int32_t (*)(PP_Resource tcp_server_socket, PP_Resource* tcp_socket, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_TCPServerSocket_Private_Accept, 4961 .GetLocalAddress = (int32_t (*)(PP_Resource tcp_server_socket, struct PP_NetAddress_Private* addr))&Pnacl_M28_PPB_TCPServerSocket_Private_GetLocalAddress, 4962 .StopListening = (void (*)(PP_Resource tcp_server_socket))&Pnacl_M28_PPB_TCPServerSocket_Private_StopListening 4963 }; 4964 4965 struct PPB_TCPSocket_Private_0_3 Pnacl_Wrappers_PPB_TCPSocket_Private_0_3 = { 4966 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M17_PPB_TCPSocket_Private_Create, 4967 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M17_PPB_TCPSocket_Private_IsTCPSocket, 4968 .Connect = (int32_t (*)(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_Connect, 4969 .ConnectWithNetAddress = (int32_t (*)(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_ConnectWithNetAddress, 4970 .GetLocalAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr))&Pnacl_M17_PPB_TCPSocket_Private_GetLocalAddress, 4971 .GetRemoteAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr))&Pnacl_M17_PPB_TCPSocket_Private_GetRemoteAddress, 4972 .SSLHandshake = (int32_t (*)(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_SSLHandshake, 4973 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_Read, 4974 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_TCPSocket_Private_Write, 4975 .Disconnect = (void (*)(PP_Resource tcp_socket))&Pnacl_M17_PPB_TCPSocket_Private_Disconnect 4976 }; 4977 4978 struct PPB_TCPSocket_Private_0_4 Pnacl_Wrappers_PPB_TCPSocket_Private_0_4 = { 4979 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M20_PPB_TCPSocket_Private_Create, 4980 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M20_PPB_TCPSocket_Private_IsTCPSocket, 4981 .Connect = (int32_t (*)(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_Connect, 4982 .ConnectWithNetAddress = (int32_t (*)(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_ConnectWithNetAddress, 4983 .GetLocalAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr))&Pnacl_M20_PPB_TCPSocket_Private_GetLocalAddress, 4984 .GetRemoteAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr))&Pnacl_M20_PPB_TCPSocket_Private_GetRemoteAddress, 4985 .SSLHandshake = (int32_t (*)(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_SSLHandshake, 4986 .GetServerCertificate = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M20_PPB_TCPSocket_Private_GetServerCertificate, 4987 .AddChainBuildingCertificate = (PP_Bool (*)(PP_Resource tcp_socket, PP_Resource certificate, PP_Bool is_trusted))&Pnacl_M20_PPB_TCPSocket_Private_AddChainBuildingCertificate, 4988 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_Read, 4989 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M20_PPB_TCPSocket_Private_Write, 4990 .Disconnect = (void (*)(PP_Resource tcp_socket))&Pnacl_M20_PPB_TCPSocket_Private_Disconnect 4991 }; 4992 4993 struct PPB_TCPSocket_Private_0_5 Pnacl_Wrappers_PPB_TCPSocket_Private_0_5 = { 4994 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M27_PPB_TCPSocket_Private_Create, 4995 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M27_PPB_TCPSocket_Private_IsTCPSocket, 4996 .Connect = (int32_t (*)(PP_Resource tcp_socket, const char* host, uint16_t port, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_Connect, 4997 .ConnectWithNetAddress = (int32_t (*)(PP_Resource tcp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_ConnectWithNetAddress, 4998 .GetLocalAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* local_addr))&Pnacl_M27_PPB_TCPSocket_Private_GetLocalAddress, 4999 .GetRemoteAddress = (PP_Bool (*)(PP_Resource tcp_socket, struct PP_NetAddress_Private* remote_addr))&Pnacl_M27_PPB_TCPSocket_Private_GetRemoteAddress, 5000 .SSLHandshake = (int32_t (*)(PP_Resource tcp_socket, const char* server_name, uint16_t server_port, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_SSLHandshake, 5001 .GetServerCertificate = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M27_PPB_TCPSocket_Private_GetServerCertificate, 5002 .AddChainBuildingCertificate = (PP_Bool (*)(PP_Resource tcp_socket, PP_Resource certificate, PP_Bool is_trusted))&Pnacl_M27_PPB_TCPSocket_Private_AddChainBuildingCertificate, 5003 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_Read, 5004 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_Write, 5005 .Disconnect = (void (*)(PP_Resource tcp_socket))&Pnacl_M27_PPB_TCPSocket_Private_Disconnect, 5006 .SetOption = (int32_t (*)(PP_Resource tcp_socket, PP_TCPSocketOption_Private name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_TCPSocket_Private_SetOption 5007 }; 5008 5009 struct PPB_Testing_Private_1_0 Pnacl_Wrappers_PPB_Testing_Private_1_0 = { 5010 .ReadImageData = (PP_Bool (*)(PP_Resource device_context_2d, PP_Resource image, const struct PP_Point* top_left))&Pnacl_M33_PPB_Testing_Private_ReadImageData, 5011 .RunMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M33_PPB_Testing_Private_RunMessageLoop, 5012 .QuitMessageLoop = (void (*)(PP_Instance instance))&Pnacl_M33_PPB_Testing_Private_QuitMessageLoop, 5013 .GetLiveObjectsForInstance = (uint32_t (*)(PP_Instance instance))&Pnacl_M33_PPB_Testing_Private_GetLiveObjectsForInstance, 5014 .IsOutOfProcess = (PP_Bool (*)(void))&Pnacl_M33_PPB_Testing_Private_IsOutOfProcess, 5015 .SimulateInputEvent = (void (*)(PP_Instance instance, PP_Resource input_event))&Pnacl_M33_PPB_Testing_Private_SimulateInputEvent, 5016 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComponents_Dev* components))&Pnacl_M33_PPB_Testing_Private_GetDocumentURL, 5017 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size))&Pnacl_M33_PPB_Testing_Private_GetLiveVars, 5018 .SetMinimumArrayBufferSizeForShmem = (void (*)(PP_Instance instance, uint32_t threshold))&Pnacl_M33_PPB_Testing_Private_SetMinimumArrayBufferSizeForShmem 5019 }; 5020 5021 struct PPB_UDPSocket_Private_0_2 Pnacl_Wrappers_PPB_UDPSocket_Private_0_2 = { 5022 .Create = (PP_Resource (*)(PP_Instance instance_id))&Pnacl_M17_PPB_UDPSocket_Private_Create, 5023 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M17_PPB_UDPSocket_Private_IsUDPSocket, 5024 .Bind = (int32_t (*)(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_UDPSocket_Private_Bind, 5025 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_UDPSocket_Private_RecvFrom, 5026 .GetRecvFromAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress_Private* addr))&Pnacl_M17_PPB_UDPSocket_Private_GetRecvFromAddress, 5027 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M17_PPB_UDPSocket_Private_SendTo, 5028 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M17_PPB_UDPSocket_Private_Close 5029 }; 5030 5031 struct PPB_UDPSocket_Private_0_3 Pnacl_Wrappers_PPB_UDPSocket_Private_0_3 = { 5032 .Create = (PP_Resource (*)(PP_Instance instance_id))&Pnacl_M19_PPB_UDPSocket_Private_Create, 5033 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M19_PPB_UDPSocket_Private_IsUDPSocket, 5034 .Bind = (int32_t (*)(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_UDPSocket_Private_Bind, 5035 .GetBoundAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress_Private* addr))&Pnacl_M19_PPB_UDPSocket_Private_GetBoundAddress, 5036 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_UDPSocket_Private_RecvFrom, 5037 .GetRecvFromAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress_Private* addr))&Pnacl_M19_PPB_UDPSocket_Private_GetRecvFromAddress, 5038 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M19_PPB_UDPSocket_Private_SendTo, 5039 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M19_PPB_UDPSocket_Private_Close 5040 }; 5041 5042 struct PPB_UDPSocket_Private_0_4 Pnacl_Wrappers_PPB_UDPSocket_Private_0_4 = { 5043 .Create = (PP_Resource (*)(PP_Instance instance_id))&Pnacl_M23_PPB_UDPSocket_Private_Create, 5044 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource_id))&Pnacl_M23_PPB_UDPSocket_Private_IsUDPSocket, 5045 .SetSocketFeature = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocketFeature_Private name, struct PP_Var value))&Pnacl_M23_PPB_UDPSocket_Private_SetSocketFeature, 5046 .Bind = (int32_t (*)(PP_Resource udp_socket, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_Bind, 5047 .GetBoundAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress_Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetBoundAddress, 5048 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_bytes, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_RecvFrom, 5049 .GetRecvFromAddress = (PP_Bool (*)(PP_Resource udp_socket, struct PP_NetAddress_Private* addr))&Pnacl_M23_PPB_UDPSocket_Private_GetRecvFromAddress, 5050 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t num_bytes, const struct PP_NetAddress_Private* addr, struct PP_CompletionCallback callback))&Pnacl_M23_PPB_UDPSocket_Private_SendTo, 5051 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M23_PPB_UDPSocket_Private_Close 5052 }; 5053 5054 struct PPB_UMA_Private_0_1 Pnacl_Wrappers_PPB_UMA_Private_0_1 = { 5055 .HistogramCustomTimes = (void (*)(struct PP_Var name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count))&Pnacl_M18_PPB_UMA_Private_HistogramCustomTimes, 5056 .HistogramCustomCounts = (void (*)(struct PP_Var name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count))&Pnacl_M18_PPB_UMA_Private_HistogramCustomCounts, 5057 .HistogramEnumeration = (void (*)(struct PP_Var name, int32_t sample, int32_t boundary_value))&Pnacl_M18_PPB_UMA_Private_HistogramEnumeration 5058 }; 5059 5060 struct PPB_VideoDestination_Private_0_1 Pnacl_Wrappers_PPB_VideoDestination_Private_0_1 = { 5061 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoDestination_Private_Create, 5062 .IsVideoDestination = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_VideoDestination_Private_IsVideoDestination, 5063 .Open = (int32_t (*)(PP_Resource destination, struct PP_Var stream_url, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoDestination_Private_Open, 5064 .PutFrame = (int32_t (*)(PP_Resource destination, const struct PP_VideoFrame_Private* frame))&Pnacl_M28_PPB_VideoDestination_Private_PutFrame, 5065 .Close = (void (*)(PP_Resource destination))&Pnacl_M28_PPB_VideoDestination_Private_Close 5066 }; 5067 5068 struct PPB_VideoSource_Private_0_1 Pnacl_Wrappers_PPB_VideoSource_Private_0_1 = { 5069 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M28_PPB_VideoSource_Private_Create, 5070 .IsVideoSource = (PP_Bool (*)(PP_Resource resource))&Pnacl_M28_PPB_VideoSource_Private_IsVideoSource, 5071 .Open = (int32_t (*)(PP_Resource source, struct PP_Var stream_url, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoSource_Private_Open, 5072 .GetFrame = (int32_t (*)(PP_Resource source, struct PP_VideoFrame_Private* frame, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_VideoSource_Private_GetFrame, 5073 .Close = (void (*)(PP_Resource source))&Pnacl_M28_PPB_VideoSource_Private_Close 5074 }; 5075 5076 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Private_0_1 = { 5077 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certificate_Private_Create, 5078 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_X509Certificate_Private_IsX509CertificatePrivate, 5079 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, 5080 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Private_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField 5081 }; 5082 5083 struct PPP_ContentDecryptor_Private_0_9 Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_9 = { 5084 .Initialize = &Pnacl_M33_PPP_ContentDecryptor_Private_Initialize, 5085 .CreateSession = &Pnacl_M33_PPP_ContentDecryptor_Private_CreateSession, 5086 .UpdateSession = &Pnacl_M33_PPP_ContentDecryptor_Private_UpdateSession, 5087 .ReleaseSession = &Pnacl_M33_PPP_ContentDecryptor_Private_ReleaseSession, 5088 .Decrypt = &Pnacl_M33_PPP_ContentDecryptor_Private_Decrypt, 5089 .InitializeAudioDecoder = &Pnacl_M33_PPP_ContentDecryptor_Private_InitializeAudioDecoder, 5090 .InitializeVideoDecoder = &Pnacl_M33_PPP_ContentDecryptor_Private_InitializeVideoDecoder, 5091 .DeinitializeDecoder = &Pnacl_M33_PPP_ContentDecryptor_Private_DeinitializeDecoder, 5092 .ResetDecoder = &Pnacl_M33_PPP_ContentDecryptor_Private_ResetDecoder, 5093 .DecryptAndDecode = &Pnacl_M33_PPP_ContentDecryptor_Private_DecryptAndDecode 5094 }; 5095 5096 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ 5097 5098 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ 5099 5100 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ 5101 5102 struct PPP_Instance_Private_0_1 Pnacl_Wrappers_PPP_Instance_Private_0_1 = { 5103 .GetInstanceObject = &Pnacl_M18_PPP_Instance_Private_GetInstanceObject 5104 }; 5105 5106 struct PPB_Ext_Socket_Dev_0_1 Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_1 = { 5107 .Create = (int32_t (*)(PP_Instance instance, PP_Ext_Socket_SocketType_Dev type, PP_Ext_Socket_CreateOptions_Dev options, PP_Ext_Socket_CreateInfo_Dev* create_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Create, 5108 .Destroy = (void (*)(PP_Instance instance, struct PP_Var socket_id))&Pnacl_M28_PPB_Ext_Socket_Dev_Destroy, 5109 .Connect = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var hostname, struct PP_Var port, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Connect, 5110 .Bind = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var address, struct PP_Var port, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Bind, 5111 .Disconnect = (void (*)(PP_Instance instance, struct PP_Var socket_id))&Pnacl_M28_PPB_Ext_Socket_Dev_Disconnect, 5112 .Read = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var buffer_size, PP_Ext_Socket_ReadInfo_Dev* read_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Read, 5113 .Write = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var data, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Write, 5114 .RecvFrom = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var buffer_size, PP_Ext_Socket_RecvFromInfo_Dev* recv_from_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_RecvFrom, 5115 .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_Socket_Dev_SendTo, 5116 .Listen = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var address, struct PP_Var port, struct PP_Var backlog, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Listen, 5117 .Accept = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, PP_Ext_Socket_AcceptInfo_Dev* accept_info, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_Accept, 5118 .SetKeepAlive = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var enable, struct PP_Var delay, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_SetKeepAlive, 5119 .SetNoDelay = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var no_delay, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_SetNoDelay, 5120 .GetInfo = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, PP_Ext_Socket_SocketInfo_Dev* result, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_GetInfo, 5121 .GetNetworkList = (int32_t (*)(PP_Instance instance, PP_Ext_Socket_NetworkInterface_Dev_Array* result, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_Ext_Socket_Dev_GetNetworkList 5122 }; 5123 5124 struct PPB_Ext_Socket_Dev_0_2 Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_2 = { 5125 .Create = (int32_t (*)(PP_Instance instance, PP_Ext_Socket_SocketType_Dev type, PP_Ext_Socket_CreateOptions_Dev options, PP_Ext_Socket_CreateInfo_Dev* create_info, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_Create, 5126 .Destroy = (void (*)(PP_Instance instance, struct PP_Var socket_id))&Pnacl_M29_PPB_Ext_Socket_Dev_Destroy, 5127 .Connect = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var hostname, struct PP_Var port, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_Connect, 5128 .Bind = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var address, struct PP_Var port, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_Bind, 5129 .Disconnect = (void (*)(PP_Instance instance, struct PP_Var socket_id))&Pnacl_M29_PPB_Ext_Socket_Dev_Disconnect, 5130 .Read = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var buffer_size, PP_Ext_Socket_ReadInfo_Dev* read_info, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_Read, 5131 .Write = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var data, PP_Ext_Socket_WriteInfo_Dev* write_info, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_Write, 5132 .RecvFrom = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var buffer_size, PP_Ext_Socket_RecvFromInfo_Dev* recv_from_info, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_RecvFrom, 5133 .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_M29_PPB_Ext_Socket_Dev_SendTo, 5134 .Listen = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var address, struct PP_Var port, struct PP_Var backlog, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_Listen, 5135 .Accept = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, PP_Ext_Socket_AcceptInfo_Dev* accept_info, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_Accept, 5136 .SetKeepAlive = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var enable, struct PP_Var delay, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_SetKeepAlive, 5137 .SetNoDelay = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var no_delay, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_SetNoDelay, 5138 .GetInfo = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, PP_Ext_Socket_SocketInfo_Dev* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_GetInfo, 5139 .GetNetworkList = (int32_t (*)(PP_Instance instance, PP_Ext_Socket_NetworkInterface_Dev_Array* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_GetNetworkList, 5140 .JoinGroup = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var address, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_JoinGroup, 5141 .LeaveGroup = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var address, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_LeaveGroup, 5142 .SetMulticastTimeToLive = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var ttl, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_SetMulticastTimeToLive, 5143 .SetMulticastLoopbackMode = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var enabled, struct PP_Var* result, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_SetMulticastLoopbackMode, 5144 .GetJoinedGroups = (int32_t (*)(PP_Instance instance, struct PP_Var socket_id, struct PP_Var* groups, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_Ext_Socket_Dev_GetJoinedGroups 5145 }; 5146 5147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0 = { 5148 .iface_macro = PPB_CONSOLE_INTERFACE_1_0, 5149 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Console_1_0, 5150 .real_iface = NULL 5151 }; 5152 5153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0 = { 5154 .iface_macro = PPB_CORE_INTERFACE_1_0, 5155 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Core_1_0, 5156 .real_iface = NULL 5157 }; 5158 5159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0 = { 5160 .iface_macro = PPB_FILEIO_INTERFACE_1_0, 5161 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_0, 5162 .real_iface = NULL 5163 }; 5164 5165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1 = { 5166 .iface_macro = PPB_FILEIO_INTERFACE_1_1, 5167 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_1, 5168 .real_iface = NULL 5169 }; 5170 5171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0 = { 5172 .iface_macro = PPB_FILEREF_INTERFACE_1_0, 5173 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0, 5174 .real_iface = NULL 5175 }; 5176 5177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = { 5178 .iface_macro = PPB_FILEREF_INTERFACE_1_1, 5179 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_1, 5180 .real_iface = NULL 5181 }; 5182 5183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0 = { 5184 .iface_macro = PPB_FILESYSTEM_INTERFACE_1_0, 5185 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileSystem_1_0, 5186 .real_iface = NULL 5187 }; 5188 5189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0 = { 5190 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_0, 5191 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics2D_1_0, 5192 .real_iface = NULL 5193 }; 5194 5195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1 = { 5196 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_1, 5197 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics2D_1_1, 5198 .real_iface = NULL 5199 }; 5200 5201 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0 = { 5202 .iface_macro = PPB_GRAPHICS_3D_INTERFACE_1_0, 5203 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics3D_1_0, 5204 .real_iface = NULL 5205 }; 5206 5207 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0 = { 5208 .iface_macro = PPB_HOSTRESOLVER_INTERFACE_1_0, 5209 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_HostResolver_1_0, 5210 .real_iface = NULL 5211 }; 5212 5213 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0 = { 5214 .iface_macro = PPB_MOUSE_INPUT_EVENT_INTERFACE_1_0, 5215 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MouseInputEvent_1_0, 5216 .real_iface = NULL 5217 }; 5218 5219 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1 = { 5220 .iface_macro = PPB_MOUSE_INPUT_EVENT_INTERFACE_1_1, 5221 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MouseInputEvent_1_1, 5222 .real_iface = NULL 5223 }; 5224 5225 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0 = { 5226 .iface_macro = PPB_WHEEL_INPUT_EVENT_INTERFACE_1_0, 5227 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_WheelInputEvent_1_0, 5228 .real_iface = NULL 5229 }; 5230 5231 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0 = { 5232 .iface_macro = PPB_KEYBOARD_INPUT_EVENT_INTERFACE_1_0, 5233 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_KeyboardInputEvent_1_0, 5234 .real_iface = NULL 5235 }; 5236 5237 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0 = { 5238 .iface_macro = PPB_TOUCH_INPUT_EVENT_INTERFACE_1_0, 5239 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0, 5240 .real_iface = NULL 5241 }; 5242 5243 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = { 5244 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0, 5245 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0, 5246 .real_iface = NULL 5247 }; 5248 5249 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0 = { 5250 .iface_macro = PPB_MESSAGELOOP_INTERFACE_1_0, 5251 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0, 5252 .real_iface = NULL 5253 }; 5254 5255 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0 = { 5256 .iface_macro = PPB_MESSAGING_INTERFACE_1_0, 5257 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Messaging_1_0, 5258 .real_iface = NULL 5259 }; 5260 5261 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0 = { 5262 .iface_macro = PPB_MOUSELOCK_INTERFACE_1_0, 5263 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MouseLock_1_0, 5264 .real_iface = NULL 5265 }; 5266 5267 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0 = { 5268 .iface_macro = PPB_NETADDRESS_INTERFACE_1_0, 5269 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_NetAddress_1_0, 5270 .real_iface = NULL 5271 }; 5272 5273 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0 = { 5274 .iface_macro = PPB_NETWORKLIST_INTERFACE_1_0, 5275 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_NetworkList_1_0, 5276 .real_iface = NULL 5277 }; 5278 5279 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0 = { 5280 .iface_macro = PPB_NETWORKMONITOR_INTERFACE_1_0, 5281 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_NetworkMonitor_1_0, 5282 .real_iface = NULL 5283 }; 5284 5285 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0 = { 5286 .iface_macro = PPB_NETWORKPROXY_INTERFACE_1_0, 5287 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_NetworkProxy_1_0, 5288 .real_iface = NULL 5289 }; 5290 5291 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0 = { 5292 .iface_macro = PPB_TCPSOCKET_INTERFACE_1_0, 5293 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TCPSocket_1_0, 5294 .real_iface = NULL 5295 }; 5296 5297 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1 = { 5298 .iface_macro = PPB_TCPSOCKET_INTERFACE_1_1, 5299 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TCPSocket_1_1, 5300 .real_iface = NULL 5301 }; 5302 5303 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInputController_1_0 = { 5304 .iface_macro = PPB_TEXTINPUTCONTROLLER_INTERFACE_1_0, 5305 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TextInputController_1_0, 5306 .real_iface = NULL 5307 }; 5308 5309 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0 = { 5310 .iface_macro = PPB_UDPSOCKET_INTERFACE_1_0, 5311 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_1_0, 5312 .real_iface = NULL 5313 }; 5314 5315 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0 = { 5316 .iface_macro = PPB_URLLOADER_INTERFACE_1_0, 5317 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLLoader_1_0, 5318 .real_iface = NULL 5319 }; 5320 5321 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0 = { 5322 .iface_macro = PPB_URLREQUESTINFO_INTERFACE_1_0, 5323 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLRequestInfo_1_0, 5324 .real_iface = NULL 5325 }; 5326 5327 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0 = { 5328 .iface_macro = PPB_URLRESPONSEINFO_INTERFACE_1_0, 5329 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLResponseInfo_1_0, 5330 .real_iface = NULL 5331 }; 5332 5333 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_0 = { 5334 .iface_macro = PPB_VAR_INTERFACE_1_0, 5335 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_0, 5336 .real_iface = NULL 5337 }; 5338 5339 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Var_1_1 = { 5340 .iface_macro = PPB_VAR_INTERFACE_1_1, 5341 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Var_1_1, 5342 .real_iface = NULL 5343 }; 5344 5345 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArray_1_0 = { 5346 .iface_macro = PPB_VAR_ARRAY_INTERFACE_1_0, 5347 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArray_1_0, 5348 .real_iface = NULL 5349 }; 5350 5351 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0 = { 5352 .iface_macro = PPB_VAR_ARRAY_BUFFER_INTERFACE_1_0, 5353 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarArrayBuffer_1_0, 5354 .real_iface = NULL 5355 }; 5356 5357 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0 = { 5358 .iface_macro = PPB_VAR_DICTIONARY_INTERFACE_1_0, 5359 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarDictionary_1_0, 5360 .real_iface = NULL 5361 }; 5362 5363 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0 = { 5364 .iface_macro = PPB_WEBSOCKET_INTERFACE_1_0, 5365 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_WebSocket_1_0, 5366 .real_iface = NULL 5367 }; 5368 5369 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0 = { 5370 .iface_macro = PPP_MESSAGING_INTERFACE_1_0, 5371 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Messaging_1_0, 5372 .real_iface = NULL 5373 }; 5374 5375 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1 = { 5376 .iface_macro = PPB_ALARMS_DEV_INTERFACE_0_1, 5377 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Alarms_Dev_0_1, 5378 .real_iface = NULL 5379 }; 5380 5381 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2 = { 5382 .iface_macro = PPB_AUDIO_INPUT_DEV_INTERFACE_0_2, 5383 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_AudioInput_Dev_0_2, 5384 .real_iface = NULL 5385 }; 5386 5387 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3 = { 5388 .iface_macro = PPB_AUDIO_INPUT_DEV_INTERFACE_0_3, 5389 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_AudioInput_Dev_0_3, 5390 .real_iface = NULL 5391 }; 5392 5393 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4 = { 5394 .iface_macro = PPB_AUDIO_INPUT_DEV_INTERFACE_0_4, 5395 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_AudioInput_Dev_0_4, 5396 .real_iface = NULL 5397 }; 5398 5399 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1 = { 5400 .iface_macro = PPB_DEVICEREF_DEV_INTERFACE_0_1, 5401 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_DeviceRef_Dev_0_1, 5402 .real_iface = NULL 5403 }; 5404 5405 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5 = { 5406 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_5, 5407 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, 5408 .real_iface = NULL 5409 }; 5410 5411 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { 5412 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, 5413 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, 5414 .real_iface = NULL 5415 }; 5416 5417 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1 = { 5418 .iface_macro = PPB_FILEIO_DEV_INTERFACE_0_1, 5419 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_Dev_0_1, 5420 .real_iface = NULL 5421 }; 5422 5423 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = { 5424 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6, 5425 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6, 5426 .real_iface = NULL 5427 }; 5428 5429 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { 5430 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, 5431 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, 5432 .real_iface = NULL 5433 }; 5434 5435 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2 = { 5436 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_2, 5437 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_2, 5438 .real_iface = NULL 5439 }; 5440 5441 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2 = { 5442 .iface_macro = PPB_KEYBOARD_INPUT_EVENT_DEV_INTERFACE_0_2, 5443 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_KeyboardInputEvent_Dev_0_2, 5444 .real_iface = NULL 5445 }; 5446 5447 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7 = { 5448 .iface_macro = PPB_PRINTING_DEV_INTERFACE_0_7, 5449 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Printing_Dev_0_7, 5450 .real_iface = NULL 5451 }; 5452 5453 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1 = { 5454 .iface_macro = PPB_TRUETYPEFONT_DEV_INTERFACE_0_1, 5455 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1, 5456 .real_iface = NULL 5457 }; 5458 5459 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6 = { 5460 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_6, 5461 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_6, 5462 .real_iface = NULL 5463 }; 5464 5465 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7 = { 5466 .iface_macro = PPB_URLUTIL_DEV_INTERFACE_0_7, 5467 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_URLUtil_Dev_0_7, 5468 .real_iface = NULL 5469 }; 5470 5471 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1 = { 5472 .iface_macro = PPB_VAR_RESOURCE_DEV_INTERFACE_0_1, 5473 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VarResource_Dev_0_1, 5474 .real_iface = NULL 5475 }; 5476 5477 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2 = { 5478 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_2, 5479 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_2, 5480 .real_iface = NULL 5481 }; 5482 5483 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3 = { 5484 .iface_macro = PPB_VIDEOCAPTURE_DEV_INTERFACE_0_3, 5485 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoCapture_Dev_0_3, 5486 .real_iface = NULL 5487 }; 5488 5489 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16 = { 5490 .iface_macro = PPB_VIDEODECODER_DEV_INTERFACE_0_16, 5491 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoDecoder_Dev_0_16, 5492 .real_iface = NULL 5493 }; 5494 5495 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Selection_Dev_0_3 = { 5496 .iface_macro = PPP_SELECTION_DEV_INTERFACE_0_3, 5497 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Selection_Dev_0_3, 5498 .real_iface = NULL 5499 }; 5500 5501 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9 = { 5502 .iface_macro = PPB_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_9, 5503 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_ContentDecryptor_Private_0_9, 5504 .real_iface = NULL 5505 }; 5506 5507 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1 = { 5508 .iface_macro = PPB_EXT_CRXFILESYSTEM_PRIVATE_INTERFACE_0_1, 5509 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_CrxFileSystem_Private_0_1, 5510 .real_iface = NULL 5511 }; 5512 5513 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Private_0_1 = { 5514 .iface_macro = PPB_FILEIO_PRIVATE_INTERFACE_0_1, 5515 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_Private_0_1, 5516 .real_iface = NULL 5517 }; 5518 5519 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1 = { 5520 .iface_macro = PPB_FILEREFPRIVATE_INTERFACE_0_1, 5521 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRefPrivate_0_1, 5522 .real_iface = NULL 5523 }; 5524 5525 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_4 = { 5526 .iface_macro = PPB_FLASH_INTERFACE_12_4, 5527 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_12_4, 5528 .real_iface = NULL 5529 }; 5530 5531 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_5 = { 5532 .iface_macro = PPB_FLASH_INTERFACE_12_5, 5533 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_12_5, 5534 .real_iface = NULL 5535 }; 5536 5537 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_12_6 = { 5538 .iface_macro = PPB_FLASH_INTERFACE_12_6, 5539 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_12_6, 5540 .real_iface = NULL 5541 }; 5542 5543 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_13_0 = { 5544 .iface_macro = PPB_FLASH_INTERFACE_13_0, 5545 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_13_0, 5546 .real_iface = NULL 5547 }; 5548 5549 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0 = { 5550 .iface_macro = PPB_FLASH_CLIPBOARD_INTERFACE_4_0, 5551 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_4_0, 5552 .real_iface = NULL 5553 }; 5554 5555 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0 = { 5556 .iface_macro = PPB_FLASH_CLIPBOARD_INTERFACE_5_0, 5557 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_Clipboard_5_0, 5558 .real_iface = NULL 5559 }; 5560 5561 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0 = { 5562 .iface_macro = PPB_FLASH_DEVICEID_INTERFACE_1_0, 5563 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_DeviceID_1_0, 5564 .real_iface = NULL 5565 }; 5566 5567 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_0 = { 5568 .iface_macro = PPB_FLASH_DRM_INTERFACE_1_0, 5569 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_DRM_1_0, 5570 .real_iface = NULL 5571 }; 5572 5573 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_DRM_1_1 = { 5574 .iface_macro = PPB_FLASH_DRM_INTERFACE_1_1, 5575 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_DRM_1_1, 5576 .real_iface = NULL 5577 }; 5578 5579 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Flash_Menu_0_2 = { 5580 .iface_macro = PPB_FLASH_MENU_INTERFACE_0_2, 5581 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Flash_Menu_0_2, 5582 .real_iface = NULL 5583 }; 5584 5585 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1 = { 5586 .iface_macro = PPB_HOSTRESOLVER_PRIVATE_INTERFACE_0_1, 5587 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_HostResolver_Private_0_1, 5588 .real_iface = NULL 5589 }; 5590 5591 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Instance_Private_0_1 = { 5592 .iface_macro = PPB_INSTANCE_PRIVATE_INTERFACE_0_1, 5593 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Instance_Private_0_1, 5594 .real_iface = NULL 5595 }; 5596 5597 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2 = { 5598 .iface_macro = PPB_ISOLATEDFILESYSTEM_PRIVATE_INTERFACE_0_2, 5599 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IsolatedFileSystem_Private_0_2, 5600 .real_iface = NULL 5601 }; 5602 5603 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NaCl_Private_1_0 = { 5604 .iface_macro = PPB_NACL_PRIVATE_INTERFACE_1_0, 5605 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_NaCl_Private_1_0, 5606 .real_iface = NULL 5607 }; 5608 5609 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1 = { 5610 .iface_macro = PPB_NETADDRESS_PRIVATE_INTERFACE_0_1, 5611 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_NetAddress_Private_0_1, 5612 .real_iface = NULL 5613 }; 5614 5615 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0 = { 5616 .iface_macro = PPB_NETADDRESS_PRIVATE_INTERFACE_1_0, 5617 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_NetAddress_Private_1_0, 5618 .real_iface = NULL 5619 }; 5620 5621 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1 = { 5622 .iface_macro = PPB_NETADDRESS_PRIVATE_INTERFACE_1_1, 5623 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_NetAddress_Private_1_1, 5624 .real_iface = NULL 5625 }; 5626 5627 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1 = { 5628 .iface_macro = PPB_OUTPUTPROTECTION_PRIVATE_INTERFACE_0_1, 5629 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_OutputProtection_Private_0_1, 5630 .real_iface = NULL 5631 }; 5632 5633 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2 = { 5634 .iface_macro = PPB_PLATFORMVERIFICATION_PRIVATE_INTERFACE_0_2, 5635 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_PlatformVerification_Private_0_2, 5636 .real_iface = NULL 5637 }; 5638 5639 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_1_0 = { 5640 .iface_macro = PPB_TALK_PRIVATE_INTERFACE_1_0, 5641 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Talk_Private_1_0, 5642 .real_iface = NULL 5643 }; 5644 5645 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Talk_Private_2_0 = { 5646 .iface_macro = PPB_TALK_PRIVATE_INTERFACE_2_0, 5647 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Talk_Private_2_0, 5648 .real_iface = NULL 5649 }; 5650 5651 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1 = { 5652 .iface_macro = PPB_TCPSERVERSOCKET_PRIVATE_INTERFACE_0_1, 5653 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_1, 5654 .real_iface = NULL 5655 }; 5656 5657 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2 = { 5658 .iface_macro = PPB_TCPSERVERSOCKET_PRIVATE_INTERFACE_0_2, 5659 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TCPServerSocket_Private_0_2, 5660 .real_iface = NULL 5661 }; 5662 5663 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3 = { 5664 .iface_macro = PPB_TCPSOCKET_PRIVATE_INTERFACE_0_3, 5665 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TCPSocket_Private_0_3, 5666 .real_iface = NULL 5667 }; 5668 5669 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4 = { 5670 .iface_macro = PPB_TCPSOCKET_PRIVATE_INTERFACE_0_4, 5671 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TCPSocket_Private_0_4, 5672 .real_iface = NULL 5673 }; 5674 5675 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5 = { 5676 .iface_macro = PPB_TCPSOCKET_PRIVATE_INTERFACE_0_5, 5677 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TCPSocket_Private_0_5, 5678 .real_iface = NULL 5679 }; 5680 5681 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Private_1_0 = { 5682 .iface_macro = PPB_TESTING_PRIVATE_INTERFACE_1_0, 5683 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Testing_Private_1_0, 5684 .real_iface = NULL 5685 }; 5686 5687 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2 = { 5688 .iface_macro = PPB_UDPSOCKET_PRIVATE_INTERFACE_0_2, 5689 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_2, 5690 .real_iface = NULL 5691 }; 5692 5693 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3 = { 5694 .iface_macro = PPB_UDPSOCKET_PRIVATE_INTERFACE_0_3, 5695 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_3, 5696 .real_iface = NULL 5697 }; 5698 5699 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4 = { 5700 .iface_macro = PPB_UDPSOCKET_PRIVATE_INTERFACE_0_4, 5701 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UDPSocket_Private_0_4, 5702 .real_iface = NULL 5703 }; 5704 5705 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UMA_Private_0_1 = { 5706 .iface_macro = PPB_UMA_PRIVATE_INTERFACE_0_1, 5707 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_UMA_Private_0_1, 5708 .real_iface = NULL 5709 }; 5710 5711 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1 = { 5712 .iface_macro = PPB_VIDEODESTINATION_PRIVATE_INTERFACE_0_1, 5713 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoDestination_Private_0_1, 5714 .real_iface = NULL 5715 }; 5716 5717 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1 = { 5718 .iface_macro = PPB_VIDEOSOURCE_PRIVATE_INTERFACE_0_1, 5719 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_VideoSource_Private_0_1, 5720 .real_iface = NULL 5721 }; 5722 5723 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1 = { 5724 .iface_macro = PPB_X509CERTIFICATE_PRIVATE_INTERFACE_0_1, 5725 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_X509Certificate_Private_0_1, 5726 .real_iface = NULL 5727 }; 5728 5729 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9 = { 5730 .iface_macro = PPP_CONTENTDECRYPTOR_PRIVATE_INTERFACE_0_9, 5731 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_ContentDecryptor_Private_0_9, 5732 .real_iface = NULL 5733 }; 5734 5735 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Instance_Private_0_1 = { 5736 .iface_macro = PPP_INSTANCE_PRIVATE_INTERFACE_0_1, 5737 .wrapped_iface = (void *) &Pnacl_Wrappers_PPP_Instance_Private_0_1, 5738 .real_iface = NULL 5739 }; 5740 5741 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1 = { 5742 .iface_macro = PPB_EXT_SOCKET_DEV_INTERFACE_0_1, 5743 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_1, 5744 .real_iface = NULL 5745 }; 5746 5747 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2 = { 5748 .iface_macro = PPB_EXT_SOCKET_DEV_INTERFACE_0_2, 5749 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_2, 5750 .real_iface = NULL 5751 }; 5752 5753 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { 5754 &Pnacl_WrapperInfo_PPB_Console_1_0, 5755 &Pnacl_WrapperInfo_PPB_Core_1_0, 5756 &Pnacl_WrapperInfo_PPB_FileIO_1_0, 5757 &Pnacl_WrapperInfo_PPB_FileIO_1_1, 5758 &Pnacl_WrapperInfo_PPB_FileRef_1_0, 5759 &Pnacl_WrapperInfo_PPB_FileRef_1_1, 5760 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, 5761 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, 5762 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, 5763 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, 5764 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, 5765 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, 5766 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, 5767 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, 5768 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, 5769 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, 5770 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, 5771 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, 5772 &Pnacl_WrapperInfo_PPB_Messaging_1_0, 5773 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, 5774 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, 5775 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, 5776 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, 5777 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, 5778 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, 5779 &Pnacl_WrapperInfo_PPB_TCPSocket_1_1, 5780 &Pnacl_WrapperInfo_PPB_TextInputController_1_0, 5781 &Pnacl_WrapperInfo_PPB_UDPSocket_1_0, 5782 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, 5783 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, 5784 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, 5785 &Pnacl_WrapperInfo_PPB_Var_1_0, 5786 &Pnacl_WrapperInfo_PPB_Var_1_1, 5787 &Pnacl_WrapperInfo_PPB_VarArray_1_0, 5788 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, 5789 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, 5790 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, 5791 &Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1, 5792 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_2, 5793 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, 5794 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, 5795 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, 5796 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, 5797 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, 5798 &Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1, 5799 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, 5800 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, 5801 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, 5802 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2, 5803 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, 5804 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, 5805 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, 5806 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, 5807 &Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1, 5808 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_2, 5809 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, 5810 &Pnacl_WrapperInfo_PPB_VideoDecoder_Dev_0_16, 5811 &Pnacl_WrapperInfo_PPB_ContentDecryptor_Private_0_9, 5812 &Pnacl_WrapperInfo_PPB_Ext_CrxFileSystem_Private_0_1, 5813 &Pnacl_WrapperInfo_PPB_FileIO_Private_0_1, 5814 &Pnacl_WrapperInfo_PPB_FileRefPrivate_0_1, 5815 &Pnacl_WrapperInfo_PPB_Flash_12_4, 5816 &Pnacl_WrapperInfo_PPB_Flash_12_5, 5817 &Pnacl_WrapperInfo_PPB_Flash_12_6, 5818 &Pnacl_WrapperInfo_PPB_Flash_13_0, 5819 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_4_0, 5820 &Pnacl_WrapperInfo_PPB_Flash_Clipboard_5_0, 5821 &Pnacl_WrapperInfo_PPB_Flash_DeviceID_1_0, 5822 &Pnacl_WrapperInfo_PPB_Flash_DRM_1_0, 5823 &Pnacl_WrapperInfo_PPB_Flash_DRM_1_1, 5824 &Pnacl_WrapperInfo_PPB_Flash_Menu_0_2, 5825 &Pnacl_WrapperInfo_PPB_HostResolver_Private_0_1, 5826 &Pnacl_WrapperInfo_PPB_Instance_Private_0_1, 5827 &Pnacl_WrapperInfo_PPB_IsolatedFileSystem_Private_0_2, 5828 &Pnacl_WrapperInfo_PPB_NaCl_Private_1_0, 5829 &Pnacl_WrapperInfo_PPB_NetAddress_Private_0_1, 5830 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_0, 5831 &Pnacl_WrapperInfo_PPB_NetAddress_Private_1_1, 5832 &Pnacl_WrapperInfo_PPB_OutputProtection_Private_0_1, 5833 &Pnacl_WrapperInfo_PPB_PlatformVerification_Private_0_2, 5834 &Pnacl_WrapperInfo_PPB_Talk_Private_1_0, 5835 &Pnacl_WrapperInfo_PPB_Talk_Private_2_0, 5836 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_1, 5837 &Pnacl_WrapperInfo_PPB_TCPServerSocket_Private_0_2, 5838 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_3, 5839 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_4, 5840 &Pnacl_WrapperInfo_PPB_TCPSocket_Private_0_5, 5841 &Pnacl_WrapperInfo_PPB_Testing_Private_1_0, 5842 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_2, 5843 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_3, 5844 &Pnacl_WrapperInfo_PPB_UDPSocket_Private_0_4, 5845 &Pnacl_WrapperInfo_PPB_UMA_Private_0_1, 5846 &Pnacl_WrapperInfo_PPB_VideoDestination_Private_0_1, 5847 &Pnacl_WrapperInfo_PPB_VideoSource_Private_0_1, 5848 &Pnacl_WrapperInfo_PPB_X509Certificate_Private_0_1, 5849 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_1, 5850 &Pnacl_WrapperInfo_PPB_Ext_Socket_Dev_0_2, 5851 NULL 5852 }; 5853 5854 static struct __PnaclWrapperInfo *s_ppp_wrappers[] = { 5855 &Pnacl_WrapperInfo_PPP_Messaging_1_0, 5856 &Pnacl_WrapperInfo_PPP_Selection_Dev_0_3, 5857 &Pnacl_WrapperInfo_PPP_ContentDecryptor_Private_0_9, 5858 &Pnacl_WrapperInfo_PPP_Instance_Private_0_1, 5859 NULL 5860 }; 5861 5862 5863 5864 static PPB_GetInterface __real_PPBGetInterface; 5865 static PPP_GetInterface_Type __real_PPPGetInterface; 5866 5867 void __set_real_Pnacl_PPBGetInterface(PPB_GetInterface real) { 5868 __real_PPBGetInterface = real; 5869 } 5870 5871 void __set_real_Pnacl_PPPGetInterface(PPP_GetInterface_Type real) { 5872 __real_PPPGetInterface = real; 5873 } 5874 5875 /* Map interface string -> wrapper metadata */ 5876 static struct __PnaclWrapperInfo *PnaclPPBShimIface( 5877 const char *name) { 5878 struct __PnaclWrapperInfo **next = s_ppb_wrappers; 5879 while (*next != NULL) { 5880 if (mystrcmp(name, (*next)->iface_macro) == 0) return *next; 5881 ++next; 5882 } 5883 return NULL; 5884 } 5885 5886 /* Map interface string -> wrapper metadata */ 5887 static struct __PnaclWrapperInfo *PnaclPPPShimIface( 5888 const char *name) { 5889 struct __PnaclWrapperInfo **next = s_ppp_wrappers; 5890 while (*next != NULL) { 5891 if (mystrcmp(name, (*next)->iface_macro) == 0) return *next; 5892 ++next; 5893 } 5894 return NULL; 5895 } 5896 5897 const void *__Pnacl_PPBGetInterface(const char *name) { 5898 struct __PnaclWrapperInfo *wrapper = PnaclPPBShimIface(name); 5899 if (wrapper == NULL) { 5900 /* We did not generate a wrapper for this, so return the real interface. */ 5901 return (*__real_PPBGetInterface)(name); 5902 } 5903 5904 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 5905 if (wrapper->real_iface == NULL) { 5906 const void *iface = (*__real_PPBGetInterface)(name); 5907 if (NULL == iface) return NULL; 5908 wrapper->real_iface = iface; 5909 } 5910 5911 if (wrapper->wrapped_iface) { 5912 return wrapper->wrapped_iface; 5913 } else { 5914 return wrapper->real_iface; 5915 } 5916 } 5917 5918 const void *__Pnacl_PPPGetInterface(const char *name) { 5919 struct __PnaclWrapperInfo *wrapper = PnaclPPPShimIface(name); 5920 if (wrapper == NULL) { 5921 /* We did not generate a wrapper for this, so return the real interface. */ 5922 return (*__real_PPPGetInterface)(name); 5923 } 5924 5925 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 5926 if (wrapper->real_iface == NULL) { 5927 const void *iface = (*__real_PPPGetInterface)(name); 5928 if (NULL == iface) return NULL; 5929 wrapper->real_iface = iface; 5930 } 5931 5932 if (wrapper->wrapped_iface) { 5933 return wrapper->wrapped_iface; 5934 } else { 5935 return wrapper->real_iface; 5936 } 5937 } 5938