X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Futil.h;h=4115fc4c46d89ee90c8efa0c21e01d2a2973879c;hb=55da0044eb5994004c080450c659ee0b9b315320;hp=3070cf4223804fb9250b1fcea46d7f80ac2884e2;hpb=ae84ddfec8846b077c365a44b058ba309202471c;p=platform%2Fcore%2Fconnectivity%2Fnet-config.git diff --git a/include/util.h b/include/util.h index 3070cf4..4115fc4 100755 --- a/include/util.h +++ b/include/util.h @@ -76,11 +76,24 @@ int netconfig_vconf_get_int(const char * key, int *value); int netconfig_vconf_get_bool(const char * key, int *value); char* netconfig_get_env(const char *key); void netconfig_set_mac_address_from_file(void); - void __netconfig_pop_wifi_connected_poppup(const char *ssid); + +void netconfig_get_telephony_network_type(int *svctype, int *pstype); +gboolean __netconfig_wifi_get_sim_imsi(Wifi *wifi, GDBusMethodInvocation *context); +netconfig_error_e __netconfig_wifi_req_aka_auth(GArray *rand_data, GArray *autn_data, + GDBusMethodInvocation *context, struct wifi_authentication_data **data); +gboolean __netconfig_wifi_req_sim_auth(GArray *rand_data, + GDBusMethodInvocation *context, struct wifi_authentication_data **data); +gboolean netconfig_tapi_check_sim_state(void); +gboolean __netconfig_wifi_get_aka_authdata(Wifi *wifi, + GDBusMethodInvocation *context, struct wifi_authentication_data **data); +gboolean __netconfig_wifi_get_sim_authdata(Wifi *wifi, + GDBusMethodInvocation *context, struct wifi_authentication_data **data); + void netconfig_plugin_init(); void netconfig_plugin_deinit(); gboolean netconfig_get_headed_plugin_flag(); +gboolean netconfig_get_telephony_plugin_flag(); #ifdef __cplusplus } @@ -99,6 +112,6 @@ extern tizen_profile_t _get_tizen_profile(); #define TIZEN_TELEPHONY_ENABLE (_get_tizen_profile() == TIZEN_PROFILE_MOBILE) #define TIZEN_WLAN_BOARD_SPRD (_get_tizen_profile() == TIZEN_PROFILE_MOBILE) #define TIZEN_TV (_get_tizen_profile() == TIZEN_PROFILE_TV) -#define TIZEN_NTP_ENABLE (_get_tizen_profile() == TIZEN_PROFILE_IVI) +#define TIZEN_NTP_ENABLE 1 /* 1: enable, 0: disable */ #endif /* __NETCONFIG_UTIL_H__ */