chromium/ppapi/c/ppb_network_list.h

/* Copyright 2012 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* From ppb_network_list.idl modified Mon Sep  9 11:16:26 2013. */

#ifndef PPAPI_C_PPB_NETWORK_LIST_H_
#define PPAPI_C_PPB_NETWORK_LIST_H_

#include "ppapi/c/pp_array_output.h"
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_macros.h"
#include "ppapi/c/pp_resource.h"
#include "ppapi/c/pp_stdint.h"
#include "ppapi/c/pp_var.h"

#define PPB_NETWORKLIST_INTERFACE_1_0
#define PPB_NETWORKLIST_INTERFACE

/**
 * @file
 * This file defines the <code>PPB_NetworkList</code> interface.
 */


/**
 * @addtogroup Enums
 * @{
 */
/**
 * Type of a network interface.
 */
PP_NetworkList_Type;
PP_COMPILE_ASSERT_SIZE_IN_BYTES();

/**
 * State of a network interface.
 */
PP_NetworkList_State;
PP_COMPILE_ASSERT_SIZE_IN_BYTES();
/**
 * @}
 */

/**
 * @addtogroup Interfaces
 * @{
 */
/**
 * The <code>PPB_NetworkList</code> is used to represent a list of
 * network interfaces and their configuration. The content of the list
 * is immutable.  The current networks configuration can be received
 * using the <code>PPB_NetworkMonitor</code> interface.
 */
struct PPB_NetworkList_1_0 {};

PPB_NetworkList;
/**
 * @}
 */

#endif  /* PPAPI_C_PPB_NETWORK_LIST_H_ */