summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2015-06-30 09:40:43 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2015-07-08 16:27:34 +0900
commit87ae92a8fff91a11db13a615d9fdc1133f9e7b7a (patch)
treeab65ab6ac16d89ee4624b621049bba498717b5bd /include
parent569ccaa4728078c11bf7a4970a63bfd4ad840709 (diff)
downloadconnman-87ae92a8fff91a11db13a615d9fdc1133f9e7b7a.tar.gz
connman-87ae92a8fff91a11db13a615d9fdc1133f9e7b7a.tar.bz2
connman-87ae92a8fff91a11db13a615d9fdc1133f9e7b7a.zip
Fix MMS connection failure
Change-Id: Id3847d1d8233c2177cfbd65ba42ead8ff44a06a8
Diffstat (limited to 'include')
-rw-r--r--include/network.h2
-rw-r--r--include/service.h41
2 files changed, 43 insertions, 0 deletions
diff --git a/include/network.h b/include/network.h
index e433c226..5528f196 100644
--- a/include/network.h
+++ b/include/network.h
@@ -134,6 +134,8 @@ const char *connman_network_get_enc_mode(struct connman_network *network);
int connman_network_set_proxy(struct connman_network *network,
const char *proxies);
+
+void connman_network_clear_associating(struct connman_network *network);
#endif
int connman_network_set_name(struct connman_network *network,
diff --git a/include/service.h b/include/service.h
index 31dfce7e..fe55d4bc 100644
--- a/include/service.h
+++ b/include/service.h
@@ -24,6 +24,10 @@
#include <stdbool.h>
+#if defined TIZEN_EXT
+#include <glib.h>
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -135,6 +139,43 @@ void connman_service_create_ip4config(struct connman_service *service,
void connman_service_create_ip6config(struct connman_service *service,
int index);
+#if defined TIZEN_EXT
+/*
+ * Description: TIZEN implements system global connection management.
+ * It's only for PDP (cellular) bearer. Wi-Fi is managed by ConnMan automatically.
+ * Reference count can help to manage open/close connection requests by each application.
+ */
+
+/*
+ * Increase reference count of user-initiated packet data network connection
+ */
+void connman_service_user_pdn_connection_ref(struct connman_service *service);
+
+/*
+ * Decrease reference count of user initiated packet data network connection
+ * and return TRUE if counter is zero.
+ */
+gboolean connman_service_user_pdn_connection_unref_and_test(
+ struct connman_service *service);
+
+/*
+ * Test reference count of user initiated packet data network connection
+ * and return TRUE if counter is zero. No impact to reference count
+ */
+gboolean connman_service_is_no_ref_user_pdn_connection(
+ struct connman_service *service);
+#endif
+
+#if defined TIZEN_EXT
+struct connman_service *connman_service_get_default_connection(void);
+
+/*
+ * Description: telephony plug-in requires manual PROXY setting
+ */
+int connman_service_set_proxy(struct connman_service *service,
+ const char *proxy, gboolean active);
+#endif
+
#ifdef __cplusplus
}
#endif