Remove the DhcpcdWi instance if the wpa_supplicant connection is lost.
[dhcpcd-ui] / src / dhcpcd-qt / dhcpcd-qt.h
index a6c70e7d9dd518dd2aef8ca18d956b02d0592f95..efa1bf03c3db5385c77881dfdaf5574f320320f2 100644 (file)
@@ -66,6 +66,9 @@ public:
 
        static void dhcpcd_wpa_scan_cb(DHCPCD_WPA *wpa, void *d);
        void scanCallback(DHCPCD_WPA *wpa);
+       static void dhcpcd_wpa_status_cb(DHCPCD_WPA *wpa, const char *status,
+           void *d);
+       void wpaStatusCallback(DHCPCD_WPA *wpa, const char *status);
 
        static QIcon getIcon(QString category, QString name);