Pepper_56_C_interfaces
Pepper_56_C_interfaces
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
ppb_network_list.h
Go to the documentation of this file.
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
3  * found in the LICENSE file.
4  */
5 
6 /* From ppb_network_list.idl modified Thu Oct 20 13:57:04 2016. */
7 
8 #ifndef PPAPI_C_PPB_NETWORK_LIST_H_
9 #define PPAPI_C_PPB_NETWORK_LIST_H_
10 
12 #include "ppapi/c/pp_bool.h"
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_resource.h"
15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_var.h"
17 
18 #define PPB_NETWORKLIST_INTERFACE_1_0 "PPB_NetworkList;1.0"
19 #define PPB_NETWORKLIST_INTERFACE PPB_NETWORKLIST_INTERFACE_1_0
20 
34 typedef enum {
52 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_NetworkList_Type, 4);
53 
57 typedef enum {
67 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_NetworkList_State, 4);
103  uint32_t (*GetCount)(PP_Resource resource);
114  struct PP_Var (*GetName)(PP_Resource resource, uint32_t index);
125  PP_NetworkList_Type (*GetType)(PP_Resource resource, uint32_t index);
136  PP_NetworkList_State (*GetState)(PP_Resource resource, uint32_t index);
150  int32_t (*GetIpAddresses)(PP_Resource resource,
151  uint32_t index,
152  struct PP_ArrayOutput output);
163  struct PP_Var (*GetDisplayName)(PP_Resource resource, uint32_t index);
174  uint32_t (*GetMTU)(PP_Resource resource, uint32_t index);
175 };
176 
177 typedef struct PPB_NetworkList_1_0 PPB_NetworkList;
182 #endif /* PPAPI_C_PPB_NETWORK_LIST_H_ */
183 
Definition: ppb_network_list.h:65
Definition: ppb_network_list.h:61
PP_NetworkList_State
Definition: ppb_network_list.h:57
uint32_t(* GetCount)(PP_Resource resource)
Definition: ppb_network_list.h:103
Definition: ppb_network_list.h:46
Definition: ppb_network_list.h:82
struct PP_Var(* GetDisplayName)(PP_Resource resource, uint32_t index)
Definition: ppb_network_list.h:163
int32_t PP_Resource
Definition: pp_resource.h:40
PP_Bool(* IsNetworkList)(PP_Resource resource)
Definition: ppb_network_list.h:93
Definition: ppb_network_list.h:42
PP_NetworkList_Type(* GetType)(PP_Resource resource, uint32_t index)
Definition: ppb_network_list.h:125
Definition: pp_array_output.h:103
uint32_t(* GetMTU)(PP_Resource resource, uint32_t index)
Definition: ppb_network_list.h:174
Definition: pp_var.h:166
Definition: ppb_network_list.h:38
PP_NetworkList_Type
Definition: ppb_network_list.h:34
PP_Bool
Definition: pp_bool.h:30
int32_t(* GetIpAddresses)(PP_Resource resource, uint32_t index, struct PP_ArrayOutput output)
Definition: ppb_network_list.h:150
Definition: ppb_network_list.h:50
struct PP_Var(* GetName)(PP_Resource resource, uint32_t index)
Definition: ppb_network_list.h:114
PP_NetworkList_State(* GetState)(PP_Resource resource, uint32_t index)
Definition: ppb_network_list.h:136