WPS: Added WPS into key_mgmt config write handler
[wpasupplicant] / wpa_supplicant / wps_supplicant.h
index caacc36..1e393e3 100644 (file)
 int wpas_wps_init(struct wpa_supplicant *wpa_s);
 void wpas_wps_deinit(struct wpa_supplicant *wpa_s);
 int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s);
-void * wpas_wps_get_cred_cb(void);
+u8 wpas_wps_get_req_type(struct wpa_ssid *ssid);
+int wpas_wps_start_pbc(struct wpa_supplicant *wpa_s, const u8 *bssid);
+int wpas_wps_start_pin(struct wpa_supplicant *wpa_s, const u8 *bssid,
+                      const char *pin);
+int wpas_wps_start_reg(struct wpa_supplicant *wpa_s, const u8 *bssid,
+                      const char *pin);
 
 #else /* CONFIG_WPS */
 
@@ -38,9 +43,9 @@ static inline int wpas_wps_eapol_cb(struct wpa_supplicant *wpa_s)
        return 0;
 }
 
-static inline void * wpas_wps_get_cred_cb(void)
+u8 wpas_wps_get_req_type(struct wpa_ssid *ssid)
 {
-       return NULL;
+       return 0;
 }
 
 #endif /* CONFIG_WPS */