diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-04-09 14:19:05 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-04-09 14:19:05 +0000 |
commit | 6b445de686790a3268d0264a67a0408a0646e2c9 (patch) | |
tree | 1b02a5fe29f8f40251f2ec5bb6e8d6a9c640527f /package/network/config/swconfig/src/swlib.h | |
parent | 1362d2adfdf02d1289af6b095f902f52b362f54a (diff) |
[swconfig] add "swconfig list" support
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36282 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/config/swconfig/src/swlib.h')
-rw-r--r-- | package/network/config/swconfig/src/swlib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/network/config/swconfig/src/swlib.h b/package/network/config/swconfig/src/swlib.h index ff73969c8..02fa45610 100644 --- a/package/network/config/swconfig/src/swlib.h +++ b/package/network/config/swconfig/src/swlib.h @@ -155,6 +155,11 @@ struct switch_port { }; /** + * swlib_list: list all switches + */ +void swlib_list(void); + +/** * swlib_connect: connect to the switch through netlink * @name: name of the ethernet interface, * |