Add support for handling multiple wifi interfaces
[platform/upstream/connman.git] / include / device.h
old mode 100644 (file)
new mode 100755 (executable)
index 77c476a..67d7928
@@ -106,6 +106,20 @@ int connman_device_add_network(struct connman_device *device,
                                        struct connman_network *network);
 struct connman_network *connman_device_get_network(struct connman_device *device,
                                                        const char *identifier);
+#if defined TIZEN_EXT
+struct connman_network *connman_device_get_default_network(
+                                                       struct connman_device *device);
+void connman_device_set_pending_reply(struct connman_device *device,
+                                                       DBusMessage *msg);
+void connman_device_send_connected_signal(struct connman_device *device,
+                                                       bool connected);
+void connman_device_set_max_scan_ssids(struct connman_device *device,
+                                                       int max_scan_ssids);
+int connman_device_get_max_scan_ssids(struct connman_device *device);
+void connman_device_set_wifi_5ghz_supported(struct connman_device *device,
+                                                       bool is_5_0_ghz_supported);
+bool connman_device_get_wifi_5ghz_supported(struct connman_device *device);
+#endif
 int connman_device_remove_network(struct connman_device *device,
                                        struct connman_network *network);
 
@@ -123,6 +137,22 @@ struct connman_device *connman_device_create_from_index(int index);
 struct connman_device *connman_device_find_by_index(int index);
 int connman_device_reconnect_service(struct connman_device *device);
 
+#if defined TIZEN_EXT
+bool connman_device_set_last_user_selection_time(struct connman_device *device,
+                                               time_t time);
+time_t connman_device_get_last_user_selection_time(struct connman_device *device);
+bool connman_device_set_last_user_selection_ident(struct connman_device *device,
+                                               const char *ident);
+const char *connman_device_get_last_user_selection_ident(struct connman_device *device);
+bool connman_device_set_last_connected_ident(struct connman_device *device,
+                                               const char *ident);
+const char *connman_device_get_last_connected_ident(struct connman_device *device);
+void connman_device_save_last_user_selection(struct connman_device *device);
+void connman_device_load_last_user_selection(struct connman_device *device);
+void connman_device_save_last_connected(struct connman_device *device);
+void connman_device_load_last_connected(struct connman_device *device);
+#endif
+
 struct connman_device_driver {
        const char *name;
        enum connman_device_type type;