projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add "swconfig list" support
[openwrt/openwrt.git]
/
package
/
network
/
config
/
swconfig
/
src
/
swlib.h
diff --git
a/package/network/config/swconfig/src/swlib.h
b/package/network/config/swconfig/src/swlib.h
index ff73969c8718cc0edcc1c7010669b44f24da0b14..02fa45610c9be031993b0cb01074db2b9d18a478 100644
(file)
--- a/
package/network/config/swconfig/src/swlib.h
+++ b/
package/network/config/swconfig/src/swlib.h
@@
-154,6
+154,11
@@
struct switch_port {
unsigned int flags;
};
+/**
+ * swlib_list: list all switches
+ */
+void swlib_list(void);
+
/**
* swlib_connect: connect to the switch through netlink
* @name: name of the ethernet interface,