samldb: Allow automatic generation of mAPIIDs
[sfrench/samba-autobuild/.git] / source4 / lib / socket / netif.h
index dea74761934bf95d2925dcdc7d45a8fd6dd8b8cc..1d90a4fd1391f4f7e7c5549fa350de9e265418d1 100644 (file)
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-struct iface_struct {
-       char name[16];
-       struct in_addr ip;
-       struct in_addr netmask;
-};
-
-#define MAX_INTERFACES 128
-
-#ifndef AUTOCONF_TEST
+#include "system/network.h"
+#include "lib/socket/interfaces.h"
 #include "lib/socket/netif_proto.h"
-#endif