chromium/ppapi/c/ppb_net_address.h

/* Copyright 2013 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_net_address.idl modified Sat Jun 22 10:14:31 2013. */

#ifndef PPAPI_C_PPB_NET_ADDRESS_H_
#define PPAPI_C_PPB_NET_ADDRESS_H_

#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_instance.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_NETADDRESS_INTERFACE_1_0
#define PPB_NETADDRESS_INTERFACE

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


/**
 * @addtogroup Enums
 * @{
 */
/**
 * Network address family types.
 */
PP_NetAddress_Family;
PP_COMPILE_ASSERT_SIZE_IN_BYTES();
/**
 * @}
 */

/**
 * @addtogroup Structs
 * @{
 */
/**
 * All members are expressed in network byte order.
 */
struct PP_NetAddress_IPv4 {};
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES();

/**
 * All members are expressed in network byte order.
 */
struct PP_NetAddress_IPv6 {};
PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES();
/**
 * @}
 */

/**
 * @addtogroup Interfaces
 * @{
 */
/**
 * The <code>PPB_NetAddress</code> interface provides operations on network
 * addresses.
 */
struct PPB_NetAddress_1_0 {};

PPB_NetAddress;
/**
 * @}
 */

#endif  /* PPAPI_C_PPB_NET_ADDRESS_H_ */