00001 #ifndef ICD_WLAN_DEFS 00002 #define ICD_WLAN_DEFS 00003 00012 #include <glib.h> 00013 00021 #define WLAN_TYPE_INFRA "WLAN_INFRA" 00022 00023 #define WLAN_TYPE_ADHOC "WLAN_ADHOC" 00024 00026 #define WLAN_SECURITY_OPEN 0x1 << 3 00027 00028 #define WLAN_SECURITY_WEP 0x2 << 3 00029 00030 #define WLAN_SECURITY_WPA_PSK 0x4 << 3 00031 00036 guint icd_wlan_defs_get_secmode (const gchar *iap_name); 00037 00042 gboolean icd_wlan_defs_is_wlan (const gchar *network_type); 00043 00046 #endif