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 26 matching lines...) Expand all Loading... |
37 'outputs': [['dst_addr', 'char[]'], # PP_NetAddress_Private* | 37 'outputs': [['dst_addr', 'char[]'], # PP_NetAddress_Private* |
38 ['success', 'int32_t'], # PP_Bool | 38 ['success', 'int32_t'], # PP_Bool |
39 ] | 39 ] |
40 }, | 40 }, |
41 {'name': 'PPB_NetAddress_Private_GetAnyAddress', | 41 {'name': 'PPB_NetAddress_Private_GetAnyAddress', |
42 'inputs': [['is_ipv6', 'int32_t'], # PP_Bool | 42 'inputs': [['is_ipv6', 'int32_t'], # PP_Bool |
43 ], | 43 ], |
44 'outputs': [['addr', 'char[]'], # PP_NetAddress_Private* | 44 'outputs': [['addr', 'char[]'], # PP_NetAddress_Private* |
45 ] | 45 ] |
46 }, | 46 }, |
| 47 {'name': 'PPB_NetAddress_Private_GetFamily', |
| 48 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private* |
| 49 ], |
| 50 'outputs': [['addr_family', 'int32_t'], # uint16_t |
| 51 ] |
| 52 }, |
| 53 {'name': 'PPB_NetAddress_Private_GetPort', |
| 54 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private* |
| 55 ], |
| 56 'outputs': [['port', 'int32_t'], # uint16_t |
| 57 ] |
| 58 }, |
| 59 {'name': 'PPB_NetAddress_Private_GetAddress', |
| 60 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private* |
| 61 ], |
| 62 'outputs': [['address', 'char[]'], |
| 63 ['success', 'int32_t'], # PP_Bool |
| 64 ] |
| 65 }, |
47 ] | 66 ] |
48 } | 67 } |
OLD | NEW |