Initial import
[samba] / source / include / interfaces.h
diff --git a/source/include/interfaces.h b/source/include/interfaces.h
new file mode 100644 (file)
index 0000000..3b786f1
--- /dev/null
@@ -0,0 +1,12 @@
+/* 
+   This structure is used by lib/interfaces.c to return the list of network
+   interfaces on the machine
+*/
+
+#define MAX_INTERFACES 128
+
+struct iface_struct {
+       char name[16];
+       struct in_addr ip;
+       struct in_addr netmask;
+};