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