diff options
author | John Crispin <john@openwrt.org> | 2013-04-09 14:19:05 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2013-04-09 14:19:05 +0000 |
commit | f13ae9965cd593f42f18f2e7192a27cdce7441c4 (patch) | |
tree | b04f607109389c7ce45adda6f3d4782f3af0dbdb /package/network/config/swconfig/src/swlib.h | |
parent | f90f025f201ba08a01f6f8f6b03ddded44b082ac (diff) | |
download | mtk-20170518-f13ae9965cd593f42f18f2e7192a27cdce7441c4.zip mtk-20170518-f13ae9965cd593f42f18f2e7192a27cdce7441c4.tar.gz mtk-20170518-f13ae9965cd593f42f18f2e7192a27cdce7441c4.tar.bz2 |
add "swconfig list" support
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36282
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 ff73969..02fa456 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, * |