| 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 Sat Oct 20 12:39:54 2012. | 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_ |
| 11 #define PPAPI_C_PRIVATE_PPB_NET_ADDRESS_PRIVATE_H_ | 11 #define PPAPI_C_PRIVATE_PPB_NET_ADDRESS_PRIVATE_H_ |
| 12 | 12 |
| 13 #include "ppapi/c/pp_bool.h" | 13 #include "ppapi/c/pp_bool.h" |
| 14 #include "ppapi/c/pp_macros.h" | 14 #include "ppapi/c/pp_macros.h" |
| 15 #include "ppapi/c/pp_module.h" | 15 #include "ppapi/c/pp_module.h" |
| 16 #include "ppapi/c/pp_stdint.h" | 16 #include "ppapi/c/pp_stdint.h" |
| 17 #include "ppapi/c/pp_var.h" | 17 #include "ppapi/c/pp_var.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 | 29 |
| 30 /** | 30 /** |
| 31 * @addtogroup Enums | 31 * @addtogroup Enums |
| 32 * @{ | 32 * @{ |
| 33 */ | 33 */ |
| 34 typedef enum { | 34 typedef enum { |
| 35 /** | 35 /** |
| 36 * The address family is unspecified. | 36 * The address family is unspecified. |
| 37 */ | 37 */ |
| 38 PP_NETADDRESSFAMILY_UNSPECIFIED = 0, | 38 PP_NETADDRESSFAMILY_PRIVATE_UNSPECIFIED = 0, |
| 39 /** | 39 /** |
| 40 * The Internet Protocol version 4 (IPv4) address family. | 40 * The Internet Protocol version 4 (IPv4) address family. |
| 41 */ | 41 */ |
| 42 PP_NETADDRESSFAMILY_IPV4 = 1, | 42 PP_NETADDRESSFAMILY_PRIVATE_IPV4 = 1, |
| 43 /** | 43 /** |
| 44 * The Internet Protocol version 6 (IPv6) address family. | 44 * The Internet Protocol version 6 (IPv6) address family. |
| 45 */ | 45 */ |
| 46 PP_NETADDRESSFAMILY_IPV6 = 2 | 46 PP_NETADDRESSFAMILY_PRIVATE_IPV6 = 2 |
| 47 } PP_NetAddressFamily_Private; | 47 } PP_NetAddressFamily_Private; |
| 48 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_NetAddressFamily_Private, 4); | 48 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_NetAddressFamily_Private, 4); |
| 49 /** | 49 /** |
| 50 * @} | 50 * @} |
| 51 */ | 51 */ |
| 52 | 52 |
| 53 /** | 53 /** |
| 54 * @addtogroup Structs | 54 * @addtogroup Structs |
| 55 * @{ | 55 * @{ |
| 56 */ | 56 */ |
| (...skipping 121 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 |