summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/interfaces.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/include/interfaces.h b/source3/include/interfaces.h
new file mode 100644
index 0000000000..ae5905e682
--- /dev/null
+++ b/source3/include/interfaces.h
@@ -0,0 +1,10 @@
+/*
+ This structure is used by lib/interfaces.c to return the list of network
+ interfaces on the machine
+*/
+
+struct iface_struct {
+ char name[16];
+ struct in_addr ip;
+ struct in_addr netmask;
+};