Merge "[src/rtnl] Add retry mechanism when socket GIO channel fails" into tizen
[platform/upstream/connman.git] / src / connman.h
index 2f2f5a8..3824271 100755 (executable)
@@ -27,6 +27,7 @@
 #if defined TIZEN_EXT
 #define WIFI_COUNTRY_CODE_LEN 2
 #define WIFI_PHY_MODE_LEN 18
+#define GIO_SOCKET_RETRY_COUNT 3
 #endif
 
 #include <connman/dbus.h>
@@ -597,7 +598,8 @@ enum bssid_type {
        RESET_BSSID = 3,
 };
 
-int set_connman_bssid(enum bssid_type mode, char *bssid);
+int set_connman_bssid(enum bssid_type mode, char *bssid, const char *ifname);
+void technology_save_device(struct connman_device *device);
 #endif
 
 #include <connman/device.h>
@@ -618,7 +620,9 @@ int __connman_device_request_hidden_scan(struct connman_device *device,
 void __connman_device_stop_scan(enum connman_service_type type);
 #if defined TIZEN_EXT
 int __connman_device_request_specific_scan(enum connman_service_type type,
-                               int scan_type, GSList *specific_scan_list);
+                               const char *ifname, int scan_type, GSList *specific_scan_list);
+int connman_device_request_device_scan(enum connman_service_type type,
+                               const char * ifname, bool force_full_scan);
 #endif
 
 bool __connman_device_isfiltered(const char *devname);
@@ -1011,7 +1015,11 @@ const char *__connman_notifier_get_state(void);
 
 #include <connman/rtnl.h>
 
+#if defined TIZEN_EXT
+int __connman_rtnl_init(int retry_count);
+#else
 int __connman_rtnl_init(void);
+#endif
 void __connman_rtnl_start(void);
 void __connman_rtnl_cleanup(void);