| OLD | NEW |
| 1 // Copyright (c) 2010 The Native Client Authors. All rights reserved. | 1 // Copyright (c) 2010 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 channel, | 193 channel, |
| 194 "Deallocate:C:", | 194 "Deallocate:C:", |
| 195 capability_bytes, capability | 195 capability_bytes, capability |
| 196 ); | 196 ); |
| 197 return retval; | 197 return retval; |
| 198 } | 198 } |
| 199 | 199 |
| 200 NaClSrpcError CompletionCallbackRpcClient::RunCompletionCallback( | 200 NaClSrpcError CompletionCallbackRpcClient::RunCompletionCallback( |
| 201 NaClSrpcChannel* channel, | 201 NaClSrpcChannel* channel, |
| 202 int32_t callback_id, | 202 int32_t callback_id, |
| 203 int32_t result) { | 203 int32_t result, |
| 204 nacl_abi_size_t read_buffer_bytes, char* read_buffer) { |
| 204 NaClSrpcError retval; | 205 NaClSrpcError retval; |
| 205 retval = NaClSrpcInvokeBySignature( | 206 retval = NaClSrpcInvokeBySignature( |
| 206 channel, | 207 channel, |
| 207 "RunCompletionCallback:ii:", | 208 "RunCompletionCallback:iiC:", |
| 208 callback_id, | 209 callback_id, |
| 209 result | 210 result, |
| 211 read_buffer_bytes, read_buffer |
| 210 ); | 212 ); |
| 211 return retval; | 213 return retval; |
| 212 } | 214 } |
| 213 | 215 |
| 214 NaClSrpcError PppRpcClient::PPP_InitializeModule( | 216 NaClSrpcError PppRpcClient::PPP_InitializeModule( |
| 215 NaClSrpcChannel* channel, | 217 NaClSrpcChannel* channel, |
| 216 int32_t pid, | 218 int32_t pid, |
| 217 PP_Module module, | 219 PP_Module module, |
| 218 NaClSrpcImcDescType upcall_channel_desc, | 220 NaClSrpcImcDescType upcall_channel_desc, |
| 219 char* service_description, | 221 char* service_description, |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 retval = NaClSrpcInvokeBySignature( | 379 retval = NaClSrpcInvokeBySignature( |
| 378 channel, | 380 channel, |
| 379 "PPP_Instance_GetInstanceObject:l:C", | 381 "PPP_Instance_GetInstanceObject:l:C", |
| 380 instance, | 382 instance, |
| 381 capability_bytes, capability | 383 capability_bytes, capability |
| 382 ); | 384 ); |
| 383 return retval; | 385 return retval; |
| 384 } | 386 } |
| 385 | 387 |
| 386 | 388 |
| OLD | NEW |