diff options
author | Tomasz Bursztyka <tomasz.bursztyka@nokia.com> | 2011-01-26 10:09:32 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-01-27 12:11:42 +0100 |
commit | da4e20faacfb86123b53c6b723408e1141f09f8c (patch) | |
tree | 6c8a6d9d38af23031531801fc88c3b1b3b480c20 /gsupplicant/gsupplicant.h | |
parent | 53887ea0c454b58f06c32876a484c1765d44ffd9 (diff) | |
download | connman-da4e20faacfb86123b53c6b723408e1141f09f8c.tar.gz connman-da4e20faacfb86123b53c6b723408e1141f09f8c.tar.bz2 connman-da4e20faacfb86123b53c6b723408e1141f09f8c.zip |
gsupplicant: WPS event signal support
Diffstat (limited to 'gsupplicant/gsupplicant.h')
-rw-r--r-- | gsupplicant/gsupplicant.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index 4f507e3b..05f5c358 100644 --- a/gsupplicant/gsupplicant.h +++ b/gsupplicant/gsupplicant.h @@ -97,6 +97,12 @@ typedef enum { G_SUPPLICANT_STATE_COMPLETED, } GSupplicantState; +typedef enum { + G_SUPPLICANT_WPS_STATE_UNKNOWN, + G_SUPPLICANT_WPS_STATE_SUCCESS, + G_SUPPLICANT_WPS_STATE_FAIL, +} GSupplicantWpsState; + struct _GSupplicantSSID { const void *ssid; unsigned int ssid_len; @@ -158,6 +164,7 @@ GSupplicantState g_supplicant_interface_get_state(GSupplicantInterface *interfac const char *g_supplicant_interface_get_wps_key(GSupplicantInterface *interface); const void *g_supplicant_interface_get_wps_ssid(GSupplicantInterface *interface, unsigned int *ssid_len); +GSupplicantWpsState g_supplicant_interface_get_wps_state(GSupplicantInterface *interface); /* Network API */ struct _GSupplicantNetwork; |