$search
00001 /* 00002 * wpa_supplicant - Event notifications 00003 * Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License version 2 as 00007 * published by the Free Software Foundation. 00008 * 00009 * Alternatively, this software may be distributed under the terms of BSD 00010 * license. 00011 * 00012 * See README and COPYING for more details. 00013 */ 00014 00015 #ifndef NOTIFY_H 00016 #define NOTIFY_H 00017 00018 struct wps_credential; 00019 struct wps_event_m2d; 00020 struct wps_event_fail; 00021 00022 int wpas_notify_supplicant_initialized(struct wpa_global *global); 00023 void wpas_notify_supplicant_deinitialized(struct wpa_global *global); 00024 int wpas_notify_iface_added(struct wpa_supplicant *wpa_s); 00025 void wpas_notify_iface_removed(struct wpa_supplicant *wpa_s); 00026 void wpas_notify_state_changed(struct wpa_supplicant *wpa_s, 00027 enum wpa_states new_state, 00028 enum wpa_states old_state); 00029 void wpas_notify_network_changed(struct wpa_supplicant *wpa_s); 00030 void wpas_notify_ap_scan_changed(struct wpa_supplicant *wpa_s); 00031 void wpas_notify_bssid_changed(struct wpa_supplicant *wpa_s); 00032 void wpas_notify_network_enabled_changed(struct wpa_supplicant *wpa_s, 00033 struct wpa_ssid *ssid); 00034 void wpas_notify_network_selected(struct wpa_supplicant *wpa_s, 00035 struct wpa_ssid *ssid); 00036 void wpas_notify_scanning(struct wpa_supplicant *wpa_s); 00037 void wpas_notify_scan_done(struct wpa_supplicant *wpa_s, int success); 00038 void wpas_notify_scan_results(struct wpa_supplicant *wpa_s); 00039 void wpas_notify_wps_credential(struct wpa_supplicant *wpa_s, 00040 const struct wps_credential *cred); 00041 void wpas_notify_wps_event_m2d(struct wpa_supplicant *wpa_s, 00042 struct wps_event_m2d *m2d); 00043 void wpas_notify_wps_event_fail(struct wpa_supplicant *wpa_s, 00044 struct wps_event_fail *fail); 00045 void wpas_notify_wps_event_success(struct wpa_supplicant *wpa_s); 00046 void wpas_notify_network_added(struct wpa_supplicant *wpa_s, 00047 struct wpa_ssid *ssid); 00048 void wpas_notify_network_removed(struct wpa_supplicant *wpa_s, 00049 struct wpa_ssid *ssid); 00050 void wpas_notify_bss_added(struct wpa_supplicant *wpa_s, u8 bssid[], 00051 unsigned int id); 00052 void wpas_notify_bss_removed(struct wpa_supplicant *wpa_s, u8 bssid[], 00053 unsigned int id); 00054 void wpas_notify_bss_freq_changed(struct wpa_supplicant *wpa_s, 00055 unsigned int id); 00056 void wpas_notify_bss_signal_changed(struct wpa_supplicant *wpa_s, 00057 unsigned int id); 00058 void wpas_notify_bss_privacy_changed(struct wpa_supplicant *wpa_s, 00059 unsigned int id); 00060 void wpas_notify_bss_mode_changed(struct wpa_supplicant *wpa_s, 00061 unsigned int id); 00062 void wpas_notify_bss_wpaie_changed(struct wpa_supplicant *wpa_s, 00063 unsigned int id); 00064 void wpas_notify_bss_rsnie_changed(struct wpa_supplicant *wpa_s, 00065 unsigned int id); 00066 void wpas_notify_bss_wps_changed(struct wpa_supplicant *wpa_s, 00067 unsigned int id); 00068 void wpas_notify_bss_ies_changed(struct wpa_supplicant *wpa_s, 00069 unsigned int id); 00070 void wpas_notify_bss_rates_changed(struct wpa_supplicant *wpa_s, 00071 unsigned int id); 00072 void wpas_notify_blob_added(struct wpa_supplicant *wpa_s, const char *name); 00073 void wpas_notify_blob_removed(struct wpa_supplicant *wpa_s, const char *name); 00074 00075 void wpas_notify_debug_level_changed(struct wpa_global *global); 00076 void wpas_notify_debug_timestamp_changed(struct wpa_global *global); 00077 void wpas_notify_debug_show_keys_changed(struct wpa_global *global); 00078 void wpas_notify_suspend(struct wpa_global *global); 00079 void wpas_notify_resume(struct wpa_global *global); 00080 00081 #endif /* NOTIFY_H */