OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium 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 | 5 |
6 /* From private/ppb_net_address_private.idl, | 6 /* From private/ppb_net_address_private.idl, |
7 * modified Mon Jun 24 09:52:39 2013. | 7 * modified Mon Jun 24 09:52:39 2013. |
8 */ | 8 */ |
9 | 9 |
10 #ifndef PPAPI_C_PRIVATE_PPB_NET_ADDRESS_PRIVATE_H_ | 10 #ifndef PPAPI_C_PRIVATE_PPB_NET_ADDRESS_PRIVATE_H_ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 /** | 53 /** |
54 * @addtogroup Structs | 54 * @addtogroup Structs |
55 * @{ | 55 * @{ |
56 */ | 56 */ |
57 /** | 57 /** |
58 * This is an opaque type holding a network address. Plugins must | 58 * This is an opaque type holding a network address. Plugins must |
59 * never access members of this struct directly. | 59 * never access members of this struct directly. |
60 */ | 60 */ |
61 struct PP_NetAddress_Private { | 61 struct PP_NetAddress_Private { |
62 uint32_t size; | 62 uint32_t size; |
63 char data[128]; | 63 int8_t data[128]; |
64 }; | 64 }; |
65 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_NetAddress_Private, 132); | 65 PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_NetAddress_Private, 132); |
66 /** | 66 /** |
67 * @} | 67 * @} |
68 */ | 68 */ |
69 | 69 |
70 /** | 70 /** |
71 * @addtogroup Interfaces | 71 * @addtogroup Interfaces |
72 * @{ | 72 * @{ |
73 */ | 73 */ |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 PP_Bool (*GetAddress)(const struct PP_NetAddress_Private* addr, | 178 PP_Bool (*GetAddress)(const struct PP_NetAddress_Private* addr, |
179 void* address, | 179 void* address, |
180 uint16_t address_size); | 180 uint16_t address_size); |
181 }; | 181 }; |
182 /** | 182 /** |
183 * @} | 183 * @} |
184 */ | 184 */ |
185 | 185 |
186 #endif /* PPAPI_C_PRIVATE_PPB_NET_ADDRESS_PRIVATE_H_ */ | 186 #endif /* PPAPI_C_PRIVATE_PPB_NET_ADDRESS_PRIVATE_H_ */ |
187 | 187 |
OLD | NEW |