samldb: Allow automatic generation of mAPIIDs
[sfrench/samba-autobuild/.git] / source4 / lib / socket / netif.h
index 417c6e074fdbcc2b410c624d8d4a6984423ca3b1..1d90a4fd1391f4f7e7c5549fa350de9e265418d1 100644 (file)
 */
 
 #include "system/network.h"
 */
 
 #include "system/network.h"
-
-struct iface_struct {
-       char name[16];
-       struct in_addr ip;
-       struct in_addr netmask;
-};
-
-struct interface;
-
-#define MAX_INTERFACES 128
-
-#ifndef AUTOCONF_TEST
+#include "lib/socket/interfaces.h"
 #include "lib/socket/netif_proto.h"
 #include "lib/socket/netif_proto.h"
-#endif