| 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 # RPC methods used to implement PPB_NetAddress_Private calls from the plugin. | 5 # RPC methods used to implement PPB_NetAddress_Private calls from the plugin. |
| 6 # See ppapi/c/private/ppb_net_address_private.h for interface details. | 6 # See ppapi/c/private/ppb_net_address_private.h for interface details. |
| 7 | 7 |
| 8 { | 8 { |
| 9 'name': 'PpbNetAddressPrivateRpc', | 9 'name': 'PpbNetAddressPrivateRpc', |
| 10 'rpcs': [ | 10 'rpcs': [ |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 'outputs': [['port', 'int32_t'], # uint16_t | 56 'outputs': [['port', 'int32_t'], # uint16_t |
| 57 ] | 57 ] |
| 58 }, | 58 }, |
| 59 {'name': 'PPB_NetAddress_Private_GetAddress', | 59 {'name': 'PPB_NetAddress_Private_GetAddress', |
| 60 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private* | 60 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private* |
| 61 ], | 61 ], |
| 62 'outputs': [['address', 'char[]'], | 62 'outputs': [['address', 'char[]'], |
| 63 ['success', 'int32_t'], # PP_Bool | 63 ['success', 'int32_t'], # PP_Bool |
| 64 ] | 64 ] |
| 65 }, | 65 }, |
| 66 {'name': 'PPB_NetAddress_Private_GetScopeID', |
| 67 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private* |
| 68 ], |
| 69 'outputs': [['scope_id', 'int32_t'], # uint32_t |
| 70 ] |
| 71 }, |
| 72 {'name': 'PPB_NetAddress_Private_CreateFromIPv4Address', |
| 73 'inputs': [['ip', 'char[]'], # uint8_t[4] |
| 74 ['port', 'int32_t'], # uint16_t |
| 75 ], |
| 76 'outputs': [['addr', 'char[]'], # PP_NetAddress_Private* |
| 77 ] |
| 78 }, |
| 79 {'name': 'PPB_NetAddress_Private_CreateFromIPv6Address', |
| 80 'inputs': [['ip', 'char[]'], # uint8_t[16] |
| 81 ['scope_id', 'int32_t'], # uint32_t |
| 82 ['port', 'int32_t'], # uint16_t |
| 83 ], |
| 84 'outputs': [['addr', 'char[]'], # PP_NetAddress_Private* |
| 85 ] |
| 86 }, |
| 66 ] | 87 ] |
| 67 } | 88 } |
| OLD | NEW |