 +
 +		status_t				_NotifyNetworkEvent(BMessage *message);
 +
++static	bool					_InterfaceStateChangeCallback(
++									const wpa_supplicant *interface,
++									BMessage *message, void *data);
++
++		status_t				_StartWatchingInterfaceChanges(
++									const wpa_supplicant *interface,
++									StateChangeCallback callback, void *data);
++		status_t				_StopWatchingInterfaceChanges(
++									const wpa_supplicant *interface,
++									StateChangeCallback callback, void *data);
++		void					_NotifyInterfaceStateChanged(BMessage *message);
++
 +		status_t				fInitStatus;
 +		thread_id				fSupplicantThread;
 +		BMessageQueue			fEventQueue;
 +
 +		int						fNotifySockets[2];
++
++		BObjectList<StateChangeWatchingEntry>
++								fWatchingEntryList;
++		BLocker					fWatchingEntryListLocker;
 +
 +		wpa_global *			fWPAGlobal;
 +		wpa_params				fWPAParameters;

 }
 
diff -urN wpa_supplicant-0.7.3/wpa_supplicant/.config wpa_supplicant-0.7.3-haiku/wpa_supplicant/.config
--- wpa_supplicant-0.7.3/wpa_supplicant/.config	1970-01-01 00:00:00.000000000 +0000
+++ wpa_supplicant-0.7.3-haiku/wpa_supplicant/.config	2011-09-27 17:04:17.648019968 +0000
@@ -0,0 +1,120 @@
+# for OpenSSL
+CFLAGS += -I/boot/common/include

+	/* This function can be left empty */
+}
diff -urN wpa_supplicant-0.7.3/src/utils/common.h wpa_supplicant-0.7.3-haiku/src/utils/common.h
--- wpa_supplicant-0.7.3/src/utils/common.h	2010-09-07 17:43:39.048234496 +0200
+++ wpa_supplicant-0.7.3-haiku/src/utils/common.h	2011-07-01 17:39:20.061079552 +0200
@@ -59,6 +59,14 @@
 }
 #endif /* __APPLE__ */
