X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fservice.h;h=e41bba391ab7dfe271a6dcaa9be78ff170d4f8d4;hb=d2986e451a7f747bf042a613faf58e51e9dc24a3;hp=03371860b781592309318380d91588c1678615fd;hpb=db328958f4b083cce99bdd81d861d707459ae1f6;p=platform%2Fupstream%2Fconnman.git diff --git a/include/service.h b/include/service.h old mode 100644 new mode 100755 index 0337186..e41bba3 --- a/include/service.h +++ b/include/service.h @@ -26,6 +26,7 @@ #if defined TIZEN_EXT #include +#include #endif #ifdef __cplusplus @@ -73,6 +74,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 { @@ -147,6 +151,8 @@ const char *connman_service_get_proxy_url(struct connman_service *service); const char *connman_service_get_proxy_autoconfig(struct connman_service *service); bool connman_service_get_favorite(struct connman_service *service); bool connman_service_get_autoconnect(struct connman_service *service); +bool connman_service_set_autoconnect(struct connman_service *service, + bool autoconnect); /* Return non-zero value to terminate the loop, zero to continue */ typedef int (* connman_service_iterate_cb) (struct connman_service *service, @@ -190,6 +196,7 @@ gboolean connman_service_is_no_ref_user_pdn_connection( struct connman_service *service); struct connman_service *connman_service_get_default_connection(void); +struct connman_service *connman_service_get_connected_service(const char *ifname); /* * Description: telephony plug-in requires manual PROXY setting @@ -201,6 +208,14 @@ 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); +DBusMessage *connman_service_create_dbus_service_reply(DBusMessage *msg, + struct connman_service *service); +#endif + #ifdef __cplusplus } #endif