[swconfig] add "swconfig list" support
[openwrt.git] / package / network / config / swconfig / src / swlib.h
index ff73969..02fa456 100644 (file)
@@ -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,
  *