From 6b445de686790a3268d0264a67a0408a0646e2c9 Mon Sep 17 00:00:00 2001 From: blogic Date: Tue, 9 Apr 2013 14:19:05 +0000 Subject: [swconfig] add "swconfig list" support Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36282 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/config/swconfig/src/swlib.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to '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 ff73969c8..02fa45610 100644 --- 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, -- cgit v1.2.3