Fixed various memory leaks
[platform/upstream/connman.git] / gsupplicant / gsupplicant.h
index 46d065b..b0984b8 100755 (executable)
@@ -108,6 +108,15 @@ typedef enum {
 #endif
 } GSupplicantSecurity;
 
+#if defined TIZEN_EXT
+typedef enum {
+       G_SUPPLICANT_EAP_KEYMGMT_NONE,
+       G_SUPPLICANT_EAP_KEYMGMT_FT,
+       G_SUPPLICANT_EAP_KEYMGMT_CCKM,
+       G_SUPPLICANT_EAP_KEYMGMT_OKC,
+} GSupplicantEapKeymgmt;
+#endif
+
 typedef enum {
        G_SUPPLICANT_STATE_UNKNOWN,
        G_SUPPLICANT_STATE_DISABLED,
@@ -173,6 +182,11 @@ struct _GSupplicantSSID {
        int ignore_broadcast_ssid;
 #if defined TIZEN_EXT
        unsigned char *bssid;
+       unsigned int bssid_for_connect_len;
+       unsigned char bssid_for_connect[6];
+       GSupplicantEapKeymgmt eap_keymgmt;
+       const char *phase1;
+       const char *pac_file;
 #endif
 };
 
@@ -296,9 +310,6 @@ int g_supplicant_interface_disconnect(GSupplicantInterface *interface,
                                        GSupplicantInterfaceCallback callback,
                                                        void *user_data);
 
-#if defined TIZEN_EXT
-int g_supplicant_interface_remove_network(GSupplicantInterface *interface);
-#endif
 int g_supplicant_interface_set_apscan(GSupplicantInterface *interface,
                                                        unsigned int ap_scan);
 
@@ -383,6 +394,9 @@ const char *g_supplicant_network_get_identity(GSupplicantNetwork *network);
 const char *g_supplicant_network_get_phase2(GSupplicantNetwork *network);
 unsigned int g_supplicant_network_get_keymgmt(GSupplicantNetwork *network);
 void *g_supplicant_network_get_wifi_vsie(GSupplicantNetwork *network);
+const unsigned char *g_supplicant_network_get_countrycode(GSupplicantNetwork
+                                                         *network);
+void *g_supplicant_network_get_bssid_list(GSupplicantNetwork *network);
 #endif
 
 struct _GSupplicantCallbacks {