Add multi interfaces function
[platform/core/connectivity/net-config.git] / include / wifi-wps.h
index aaa3d6e..81caee4 100755 (executable)
@@ -32,12 +32,16 @@ extern "C" {
 #define WPS_EI_NO_ERROR 0
 #define WPS_EI_OPERATION_FAILED 1
 
-gboolean handle_request_wps_connect(Wifi *wifi, GDBusMethodInvocation *context, gchar *param);
-gboolean handle_request_wps_cancel(Wifi *wifi, GDBusMethodInvocation *context);
-void netconfig_wifi_notify_wps_completed(const char *ssid, gsize ssid_len);
-void netconfig_wifi_notify_wps_fail_event(int config_error, int error_indication);
-void netconfig_wifi_notify_wps_credentials(const char *ssid, gsize ssid_len, const char *wps_key);
-gboolean netconfig_get_wps_field();
+gboolean handle_request_wps_connect(Wifi *wifi, GDBusMethodInvocation *context,
+                       const gchar *ifname, gchar *param);
+gboolean handle_request_wps_cancel(Wifi *wifi, GDBusMethodInvocation *context,
+                       const gchar *ifname);
+void netconfig_wifi_notify_wps_completed(const char *interface_name,
+               const char *ssid, gsize ssid_len);
+void netconfig_wifi_notify_wps_fail_event(const char *interface_name,
+               int config_error, int error_indication);
+void netconfig_wifi_notify_wps_credentials(const char *interface_name,
+               const char *ssid, gsize ssid_len, const char *wps_key);
 gboolean netconfig_wifi_wps_connect();
 
 #ifdef __cplusplus