summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1999-12-17 01:44:30 +0000
committerAndrew Tridgell <tridge@samba.org>1999-12-17 01:44:30 +0000
commit20aba767ea2955c2849bb82bfe42ca231a74c4a1 (patch)
tree166d4b2e9cc6087e5929b0edee93d1dbc361949e
parent9564ab861069a1d682efb2633d614c8067ba450f (diff)
downloadsamba-20aba767ea2955c2849bb82bfe42ca231a74c4a1.tar.gz
samba-20aba767ea2955c2849bb82bfe42ca231a74c4a1.tar.bz2
samba-20aba767ea2955c2849bb82bfe42ca231a74c4a1.zip
interfaces.h from 2.0.6
(This used to be commit a3d7ec0c9d06f18e656da354e2fec57aaf395fc5)
-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;
+};