lib/socket move interfaces code to the top level
[samba.git] / source4 / lib / socket / netif.h
index 4855f4bd73b667b190e24b644d95580a0c2ddebf..1d90a4fd1391f4f7e7c5549fa350de9e265418d1 100644 (file)
 */
 
 #include "system/network.h"
-
-struct iface_struct {
-       char name[16];
-       struct in_addr ip;
-       struct in_addr netmask;
-};
-
-#define MAX_INTERFACES 128
-
-#ifndef AUTOCONF_TEST
+#include "lib/socket/interfaces.h"
 #include "lib/socket/netif_proto.h"
-#endif