Commit 38feb01f authored by David Lawrence's avatar David Lawrence
Browse files

88. [cleanup] <isc/interfaceiter.h> does not need <isc/result.h> or

                        <isc/mem.h>.  isc_interface_t and isc_interfaceiter_t
                        moved to <isc/types.h>.
parent a02ad3bc
88. [cleanup] <isc/interfaceiter.h> does not need <isc/result.h> or
<isc/mem.h>. isc_interface_t and isc_interfaceiter_t
moved to <isc/types.h>.
87. [cleanup] <isc/heap.h> does not need <isc/boolean.h>,
<isc/mem.h> or <isc/result.h>.
......
......@@ -40,21 +40,14 @@
*** Imports
***/
#include <isc/result.h>
#include <isc/mem.h>
#include <isc/types.h>
#include <isc/netaddr.h>
/***
*** Types
***/
typedef struct isc_interfaceiter isc_interfaceiter_t;
/*
* Public structure describing a network interface.
*/
typedef struct {
struct isc_interface {
char name[32]; /* Interface name, null-terminated. */
unsigned int af; /* Address family. */
isc_netaddr_t address; /* Local address. */
......@@ -62,7 +55,7 @@ typedef struct {
isc_netaddr_t dstaddress; /* Destination address
(point-to-point only). */
isc_uint32_t flags; /* Flags; see below. */
} isc_interface_t;
};
/* Interface flags. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment