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 29 matching lines...) Expand all Loading... |
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', | 47 {'name': 'PPB_NetAddress_Private_GetFamily', |
48 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private* | 48 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private* |
49 ], | 49 ], |
50 'outputs': [['addr_family', 'int32_t'], # uint16_t | 50 'outputs': [['addr_family', 'int32_t'], # PP_NetAddressFamily_Private |
51 ] | 51 ] |
52 }, | 52 }, |
53 {'name': 'PPB_NetAddress_Private_GetPort', | 53 {'name': 'PPB_NetAddress_Private_GetPort', |
54 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private* | 54 'inputs': [['addr', 'char[]'], # PP_NetAddress_Private* |
55 ], | 55 ], |
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 ] | 66 ] |
67 } | 67 } |
OLD | NEW |