aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/notify.h
diff options
context:
space:
mode:
authorWitold Sowa <witold.sowa@gmail.com>2009-10-15 18:15:10 (GMT)
committerJouni Malinen <j@w1.fi>2009-10-15 18:15:10 (GMT)
commitdc461de43e807ff2758cb333a1338f1f672c6836 (patch)
treedf45bb9954f86e3ce29eb44d447cfc650e70c651 /wpa_supplicant/notify.h
parent4f34d51abe432b615629dff6f4654c9344289677 (diff)
downloadhostap-dc461de43e807ff2758cb333a1338f1f672c6836.zip
hostap-dc461de43e807ff2758cb333a1338f1f672c6836.tar.gz
hostap-dc461de43e807ff2758cb333a1338f1f672c6836.tar.bz2
wpa_supplicant and dbus code separation
This patch completely separates supplicant's code from dbus. It introduces three new notifications which copes with all remaining dbus stuff. wpas_notify_unregister_interface() was renamed to wpas_notify_iface_removed().
Diffstat (limited to 'wpa_supplicant/notify.h')
-rw-r--r--wpa_supplicant/notify.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/wpa_supplicant/notify.h b/wpa_supplicant/notify.h
index d11aa84..b8231aa 100644
--- a/wpa_supplicant/notify.h
+++ b/wpa_supplicant/notify.h
@@ -19,6 +19,10 @@ struct wps_credential;
struct wps_event_m2d;
struct wps_event_fail;
+int wpas_notify_supplicant_initialized(struct wpa_global *global);
+void wpas_notify_supplicant_deinitialized(struct wpa_global *global);
+int wpas_notify_iface_added(struct wpa_supplicant *wpa_s);
+void wpas_notify_iface_removed(struct wpa_supplicant *wpa_s);
void wpas_notify_state_changed(struct wpa_supplicant *wpa_s,
wpa_states new_state, wpa_states old_state);
void wpas_notify_network_changed(struct wpa_supplicant *wpa_s);
@@ -28,7 +32,6 @@ void wpas_notify_network_enabled_changed(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid);
void wpas_notify_network_selected(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid);
-void wpas_notify_unregister_interface(struct wpa_supplicant *wpa_s);
void wpas_notify_scanning(struct wpa_supplicant *wpa_s);
void wpas_notify_scan_done(struct wpa_supplicant *wpa_s, int success);
void wpas_notify_scan_results(struct wpa_supplicant *wpa_s);