summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorhyunuk.tak <hyunuk.tak@samsung.com>2020-04-07 12:57:45 +0900
committerhyunuk.tak <hyunuk.tak@samsung.com>2020-04-16 12:39:44 +0900
commit70730f50e09cac648b1c3b48f0a1e6ed40cc510f (patch)
tree649a28589e37dd9ce5b1d17a18aa32ac2e418a7e /include
parente1c81b4af01d7f63325a516cc298097cf18d5c73 (diff)
downloadconnman-70730f50e09cac648b1c3b48f0a1e6ed40cc510f.tar.gz
connman-70730f50e09cac648b1c3b48f0a1e6ed40cc510f.tar.bz2
connman-70730f50e09cac648b1c3b48f0a1e6ed40cc510f.zip
Change-Id: I049207e7d662f657ca21a4046be953f8f33bbd10 Signed-off-by: hyunuk.tak <hyunuk.tak@samsung.com>
Diffstat (limited to 'include')
-rwxr-xr-x[-rw-r--r--]include/device.h16
-rwxr-xr-xinclude/network.h8
-rwxr-xr-x[-rw-r--r--]include/service.h9
-rwxr-xr-xinclude/setting.h4
4 files changed, 37 insertions, 0 deletions
diff --git a/include/device.h b/include/device.h
index 77c476a4..98c7bd87 100644..100755
--- a/include/device.h
+++ b/include/device.h
@@ -123,6 +123,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;
diff --git a/include/network.h b/include/network.h
index 14b94429..8cefb796 100755
--- a/include/network.h
+++ b/include/network.h
@@ -211,6 +211,14 @@ unsigned char *connman_network_get_countrycode(struct connman_network *network);
int connman_network_set_bssid_list(struct connman_network *network,
GSList *bssids);
void *connman_network_get_bssid_list(struct connman_network *network);
+#if defined TIZEN_EXT
+int connman_network_set_last_connected_bssid(struct connman_network *network,
+ const unsigned char *bssid);
+unsigned char *connman_network_get_last_connected_bssid(struct connman_network *network);
+void connman_network_set_assoc_reject_table(struct connman_network *network,
+ GHashTable *assoc_reject_table);
+GHashTable *connman_network_get_assoc_reject_table(struct connman_network *network);
+#endif
int connman_network_set_phy_mode(struct connman_network *network,
ieee80211_modes_e mode);
ieee80211_modes_e connman_network_get_phy_mode(struct connman_network *network);
diff --git a/include/service.h b/include/service.h
index 03371860..617735e0 100644..100755
--- a/include/service.h
+++ b/include/service.h
@@ -73,6 +73,9 @@ enum connman_service_security {
CONNMAN_SERVICE_SECURITY_OWE = 11,
CONNMAN_SERVICE_SECURITY_DPP = 12,
#endif
+#if defined TIZEN_EXT
+ CONNMAN_SERVICE_SECURITY_MAX
+#endif
};
enum connman_service_state {
@@ -201,6 +204,12 @@ void connman_service_set_disconnection_requested(struct connman_service *service
bool disconnection_requested);
#endif
+#if defined TIZEN_EXT
+void connman_service_set_internet_connection(struct connman_service *service,
+ bool internet_connection);
+bool connman_service_get_internet_connection(struct connman_service *service);
+#endif
+
#ifdef __cplusplus
}
#endif
diff --git a/include/setting.h b/include/setting.h
index a8820217..3625f3e3 100755
--- a/include/setting.h
+++ b/include/setting.h
@@ -29,6 +29,10 @@ extern "C" {
#endif
bool connman_setting_get_bool(const char *key);
+#if defined TIZEN_EXT
+unsigned int connman_setting_get_uint(const char *key);
+int connman_setting_get_int(const char *key);
+#endif
char **connman_setting_get_string_list(const char *key);
unsigned int *connman_setting_get_uint_list(const char *key);