summaryrefslogtreecommitdiff
path: root/package/network/config/swconfig/src/swlib.h
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-04-09 14:19:05 +0000
committerJohn Crispin <john@openwrt.org>2013-04-09 14:19:05 +0000
commitf13ae9965cd593f42f18f2e7192a27cdce7441c4 (patch)
treeb04f607109389c7ce45adda6f3d4782f3af0dbdb /package/network/config/swconfig/src/swlib.h
parentf90f025f201ba08a01f6f8f6b03ddded44b082ac (diff)
downloadmtk-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.h5
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,
*