diff options
author | Seonah Moon <seonah1.moon@samsung.com> | 2017-03-14 19:31:33 +0900 |
---|---|---|
committer | Seonah Moon <seonah1.moon@samsung.com> | 2017-03-14 20:09:50 +0900 |
commit | 793489d779f0727f9f59d02df75c0e69d07f4fc0 (patch) | |
tree | a2c4fd40e50ba6483eaa3ec91f1ceaa3db580197 /src/connman.h | |
parent | 6613191eff5291c5992ee403557ef04caf9e650e (diff) | |
download | connman-793489d779f0727f9f59d02df75c0e69d07f4fc0.tar.gz connman-793489d779f0727f9f59d02df75c0e69d07f4fc0.tar.bz2 connman-793489d779f0727f9f59d02df75c0e69d07f4fc0.zip |
Apply DNS configuration methodsubmit/tizen/20170322.011410accepted/tizen/wearable/20170322.235735accepted/tizen/unified/20170322.235830accepted/tizen/tv/20170322.235708accepted/tizen/mobile/20170322.235633accepted/tizen/ivi/20170322.235801accepted/tizen/common/20170322.153711
Change-Id: If16e739fde7e9d736c66015ab1efa982e49d3482
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
Diffstat (limited to 'src/connman.h')
-rwxr-xr-x | src/connman.h | 14 |
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); |