Index: ppapi/c/private/ppb_network_list_private.h |
=================================================================== |
--- ppapi/c/private/ppb_network_list_private.h (revision 124808) |
+++ ppapi/c/private/ppb_network_list_private.h (working copy) |
@@ -4,7 +4,7 @@ |
*/ |
/* From private/ppb_network_list_private.idl, |
- * modified Thu Mar 1 16:24:33 2012. |
+ * modified Fri Feb 24 10:14:10 2012. |
*/ |
#ifndef PPAPI_C_PRIVATE_PPB_NETWORK_LIST_PRIVATE_H_ |
@@ -35,21 +35,17 @@ |
*/ |
typedef enum { |
/** |
- * Type of the network interface is not known. |
- */ |
- PP_NETWORKLIST_UNKNOWN = 0, |
- /** |
* Wired Ethernet network. |
*/ |
- PP_NETWORKLIST_ETHERNET = 1, |
+ PP_NETWORKLIST_ETHERNET = 0, |
/** |
* Wireless Wi-Fi network. |
*/ |
- PP_NETWORKLIST_WIFI = 2, |
+ PP_NETWORKLIST_WIFI = 1, |
/** |
* Cellular network (e.g. LTE). |
*/ |
- PP_NETWORKLIST_CELLULAR = 3 |
+ PP_NETWORKLIST_CELLULAR = 2 |
} PP_NetworkListType_Private; |
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_NetworkListType_Private, 4); |
@@ -126,8 +122,8 @@ |
*/ |
int32_t (*GetIpAddresses)(PP_Resource resource, |
uint32_t index, |
- struct PP_NetAddress_Private addresses[], |
- uint32_t count); |
+ struct PP_NetAddress_Private* addresses[], |
+ int32_t count); |
/** |
* @return Returns display name for the network interface with the |
* specified <code>index</code>. |
@@ -135,7 +131,7 @@ |
struct PP_Var (*GetDisplayName)(PP_Resource resource, uint32_t index); |
/** |
* @return Returns MTU for the network interface with the specified |
- * <code>index</code> or 0 if MTU is unknown. |
+ * <code>index</code>. |
*/ |
uint32_t (*GetMTU)(PP_Resource resource, uint32_t index); |
}; |