| OLD | NEW |
| 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2011 The Native Client Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | 5 // WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING |
| 6 // | 6 // |
| 7 // Automatically generated code. See srpcgen.py | 7 // Automatically generated code. See srpcgen.py |
| 8 // | 8 // |
| 9 // NaCl Simple Remote Procedure Call interface abstractions. | 9 // NaCl Simple Remote Procedure Call interface abstractions. |
| 10 | 10 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 NaClSrpcClosure* done | 140 NaClSrpcClosure* done |
| 141 ) { | 141 ) { |
| 142 UNREFERENCED_PARAMETER(outputs); | 142 UNREFERENCED_PARAMETER(outputs); |
| 143 PppFindRpcServer::PPP_Find_StopFind( | 143 PppFindRpcServer::PPP_Find_StopFind( |
| 144 rpc, | 144 rpc, |
| 145 done, | 145 done, |
| 146 inputs[0]->u.ival | 146 inputs[0]->u.ival |
| 147 ); | 147 ); |
| 148 } | 148 } |
| 149 | 149 |
| 150 static void PPP_InputEvent_HandleInputEventDispatcher( |
| 151 NaClSrpcRpc* rpc, |
| 152 NaClSrpcArg** inputs, |
| 153 NaClSrpcArg** outputs, |
| 154 NaClSrpcClosure* done |
| 155 ) { |
| 156 PppInputEventRpcServer::PPP_InputEvent_HandleInputEvent( |
| 157 rpc, |
| 158 done, |
| 159 inputs[0]->u.ival, |
| 160 inputs[1]->u.ival, |
| 161 inputs[2]->u.count, inputs[2]->arrays.carr, |
| 162 inputs[3]->u.count, inputs[3]->arrays.carr, |
| 163 &(outputs[0]->u.ival) |
| 164 ); |
| 165 } |
| 166 |
| 150 static void PPP_Instance_DidCreateDispatcher( | 167 static void PPP_Instance_DidCreateDispatcher( |
| 151 NaClSrpcRpc* rpc, | 168 NaClSrpcRpc* rpc, |
| 152 NaClSrpcArg** inputs, | 169 NaClSrpcArg** inputs, |
| 153 NaClSrpcArg** outputs, | 170 NaClSrpcArg** outputs, |
| 154 NaClSrpcClosure* done | 171 NaClSrpcClosure* done |
| 155 ) { | 172 ) { |
| 156 PppInstanceRpcServer::PPP_Instance_DidCreate( | 173 PppInstanceRpcServer::PPP_Instance_DidCreate( |
| 157 rpc, | 174 rpc, |
| 158 done, | 175 done, |
| 159 inputs[0]->u.ival, | 176 inputs[0]->u.ival, |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 | 398 |
| 382 NaClSrpcHandlerDesc PppRpcs::srpc_methods[] = { | 399 NaClSrpcHandlerDesc PppRpcs::srpc_methods[] = { |
| 383 { "RunCompletionCallback:iiC:", RunCompletionCallbackDispatcher }, | 400 { "RunCompletionCallback:iiC:", RunCompletionCallbackDispatcher }, |
| 384 { "PPP_InitializeModule:iihs:ii", PPP_InitializeModuleDispatcher }, | 401 { "PPP_InitializeModule:iihs:ii", PPP_InitializeModuleDispatcher }, |
| 385 { "PPP_ShutdownModule::", PPP_ShutdownModuleDispatcher }, | 402 { "PPP_ShutdownModule::", PPP_ShutdownModuleDispatcher }, |
| 386 { "PPP_GetInterface:s:i", PPP_GetInterfaceDispatcher }, | 403 { "PPP_GetInterface:s:i", PPP_GetInterfaceDispatcher }, |
| 387 { "PPP_Audio_StreamCreated:ihih:", PPP_Audio_StreamCreatedDispatcher }, | 404 { "PPP_Audio_StreamCreated:ihih:", PPP_Audio_StreamCreatedDispatcher }, |
| 388 { "PPP_Find_StartFind:iCi:i", PPP_Find_StartFindDispatcher }, | 405 { "PPP_Find_StartFind:iCi:i", PPP_Find_StartFindDispatcher }, |
| 389 { "PPP_Find_SelectFindResult:ii:", PPP_Find_SelectFindResultDispatcher }, | 406 { "PPP_Find_SelectFindResult:ii:", PPP_Find_SelectFindResultDispatcher }, |
| 390 { "PPP_Find_StopFind:i:", PPP_Find_StopFindDispatcher }, | 407 { "PPP_Find_StopFind:i:", PPP_Find_StopFindDispatcher }, |
| 408 { "PPP_InputEvent_HandleInputEvent:iiCC:i", PPP_InputEvent_HandleInputEventDis
patcher }, |
| 391 { "PPP_Instance_DidCreate:iiCC:i", PPP_Instance_DidCreateDispatcher }, | 409 { "PPP_Instance_DidCreate:iiCC:i", PPP_Instance_DidCreateDispatcher }, |
| 392 { "PPP_Instance_DidDestroy:i:", PPP_Instance_DidDestroyDispatcher }, | 410 { "PPP_Instance_DidDestroy:i:", PPP_Instance_DidDestroyDispatcher }, |
| 393 { "PPP_Instance_DidChangeView:iII:", PPP_Instance_DidChangeViewDispatcher }, | 411 { "PPP_Instance_DidChangeView:iII:", PPP_Instance_DidChangeViewDispatcher }, |
| 394 { "PPP_Instance_DidChangeFocus:ib:", PPP_Instance_DidChangeFocusDispatcher }, | 412 { "PPP_Instance_DidChangeFocus:ib:", PPP_Instance_DidChangeFocusDispatcher }, |
| 395 { "PPP_Instance_HandleInputEvent:iC:i", PPP_Instance_HandleInputEventDispatche
r }, | 413 { "PPP_Instance_HandleInputEvent:iC:i", PPP_Instance_HandleInputEventDispatche
r }, |
| 396 { "PPP_Instance_HandleDocumentLoad:ii:i", PPP_Instance_HandleDocumentLoadDispa
tcher }, | 414 { "PPP_Instance_HandleDocumentLoad:ii:i", PPP_Instance_HandleDocumentLoadDispa
tcher }, |
| 397 { "PPP_Messaging_HandleMessage:iC:", PPP_Messaging_HandleMessageDispatcher }, | 415 { "PPP_Messaging_HandleMessage:iC:", PPP_Messaging_HandleMessageDispatcher }, |
| 398 { "PPP_Printing_QuerySupportedFormats:i:Ci", PPP_Printing_QuerySupportedFormat
sDispatcher }, | 416 { "PPP_Printing_QuerySupportedFormats:i:Ci", PPP_Printing_QuerySupportedFormat
sDispatcher }, |
| 399 { "PPP_Printing_Begin:iC:i", PPP_Printing_BeginDispatcher }, | 417 { "PPP_Printing_Begin:iC:i", PPP_Printing_BeginDispatcher }, |
| 400 { "PPP_Printing_PrintPages:iCi:i", PPP_Printing_PrintPagesDispatcher }, | 418 { "PPP_Printing_PrintPages:iCi:i", PPP_Printing_PrintPagesDispatcher }, |
| 401 { "PPP_Printing_End:i:", PPP_Printing_EndDispatcher }, | 419 { "PPP_Printing_End:i:", PPP_Printing_EndDispatcher }, |
| 402 { "PPP_Scrollbar_ValueChanged:iii:", PPP_Scrollbar_ValueChangedDispatcher }, | 420 { "PPP_Scrollbar_ValueChanged:iii:", PPP_Scrollbar_ValueChangedDispatcher }, |
| 403 { "PPP_Selection_GetSelectedText:ii:C", PPP_Selection_GetSelectedTextDispatche
r }, | 421 { "PPP_Selection_GetSelectedText:ii:C", PPP_Selection_GetSelectedTextDispatche
r }, |
| 404 { "PPP_Widget_Invalidate:iiC:", PPP_Widget_InvalidateDispatcher }, | 422 { "PPP_Widget_Invalidate:iiC:", PPP_Widget_InvalidateDispatcher }, |
| 405 { "PPP_Zoom_Zoom:idi:", PPP_Zoom_ZoomDispatcher }, | 423 { "PPP_Zoom_Zoom:idi:", PPP_Zoom_ZoomDispatcher }, |
| 406 { NULL, NULL } | 424 { NULL, NULL } |
| 407 }; | 425 }; |
| 408 | 426 |
| OLD | NEW |