summaryrefslogtreecommitdiff
path: root/src/connman.h
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-03-14 19:31:33 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2017-03-14 20:09:50 +0900
commit793489d779f0727f9f59d02df75c0e69d07f4fc0 (patch)
treea2c4fd40e50ba6483eaa3ec91f1ceaa3db580197 /src/connman.h
parent6613191eff5291c5992ee403557ef04caf9e650e (diff)
downloadconnman-793489d779f0727f9f59d02df75c0e69d07f4fc0.tar.gz
connman-793489d779f0727f9f59d02df75c0e69d07f4fc0.tar.bz2
connman-793489d779f0727f9f59d02df75c0e69d07f4fc0.zip
Change-Id: If16e739fde7e9d736c66015ab1efa982e49d3482 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Diffstat (limited to 'src/connman.h')
-rwxr-xr-xsrc/connman.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/connman.h b/src/connman.h
index 077bc1c7..499f38db 100755
--- a/src/connman.h
+++ b/src/connman.h
@@ -758,10 +758,19 @@ const char *__connman_service_type2string(enum connman_service_type type);
enum connman_service_type __connman_service_string2type(const char *str);
enum connman_service_security __connman_service_string2security(const char *str);
+#if defined TIZEN_EXT
+int __connman_service_nameserver_append(struct connman_service *service,
+ const char *nameserver, bool is_auto,
+ enum connman_ipconfig_type type);
+int __connman_service_nameserver_remove(struct connman_service *service,
+ const char *nameserver, bool is_auto,
+ enum connman_ipconfig_type type);
+#else
int __connman_service_nameserver_append(struct connman_service *service,
const char *nameserver, bool is_auto);
int __connman_service_nameserver_remove(struct connman_service *service,
const char *nameserver, bool is_auto);
+#endif
void __connman_service_nameserver_clear(struct connman_service *service);
void __connman_service_nameserver_add_routes(struct connman_service *service,
const char *gw);
@@ -895,6 +904,11 @@ unsigned int __connman_rtnl_update_interval_remove(unsigned int interval);
int __connman_rtnl_request_update(void);
int __connman_rtnl_send(const void *buf, size_t len);
+#if defined TIZEN_EXT
+void rtnl_nameserver_add_all(struct connman_service *service,
+ enum connman_ipconfig_type type);
+#endif
+
bool __connman_session_policy_autoconnect(enum connman_service_connect_reason reason);
int __connman_session_create(DBusMessage *msg);