projects
/
samba
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
source/include/interfaces.h
@@ -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;
+};